mesa: add gears package

Issue #4263
This commit is contained in:
Alexander Boettcher 2021-09-23 09:42:39 +02:00 committed by Norman Feske
parent 0c2edce8ac
commit 5aa3c56e5c
11 changed files with 92 additions and 2 deletions

View File

@ -16,6 +16,7 @@ _/pkg/motif_decorator
_/pkg/window_layouter
_/pkg/sticks_blue_backdrop
_/pkg/nano3d
_/pkg/mesa_gears
_/pkg/fonts_fs
_/pkg/report_dump
_/pkg/acpica

View File

@ -23,7 +23,8 @@
</index>
<index name="Demos">
<pkg path="nano3d" info="simple software-rendering demo"/>
<pkg path="nano3d" info="simple software-rendering demo"/>
<pkg path="mesa_gears" info="Mesa gears demo"/>
</index>
<index name="Virtual machines">

View File

@ -0,0 +1,4 @@
This is a port of the infamous "glxgears" demo to straight EGL
Port by Dane Rushton 10 July 2005
This package contains the port to Genode.

View File

@ -0,0 +1,8 @@
_/src/mesa_gears
_/src/mesa
_/src/libdrm
_/src/libc
_/src/vfs
_/src/expat
_/src/zlib
_/src/stdcxx

View File

@ -0,0 +1 @@
2021-09-23-a e6adb5eaa3f976b47ebbff8aefb8d8b10fca16c5

View File

@ -0,0 +1,34 @@
<runtime ram="32M" caps="300" binary="gears">
<requires>
<gui/>
<gpu/>
<timer/>
<rom label="egl_drv.lib.so"/>
</requires>
<content>
<rom label="egl.lib.so"/>
<rom label="expat.lib.so"/>
<rom label="gears"/>
<rom label="glapi.lib.so"/>
<rom label="ld.lib.so"/>
<rom label="libc.lib.so"/>
<rom label="libdrm.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="mesa.lib.so"/>
<rom label="stdcxx.lib.so"/>
<rom label="vfs.lib.so"/>
<rom label="zlib.lib.so"/>
</content>
<config>
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc" />
<vfs>
<dir name="dev">
<log/> <inline name="rtc">2000-01-01 00:00</inline>
</dir>
</vfs>
</config>
</runtime>

View File

@ -0,0 +1,13 @@
MIRROR_FROM_GEARS := src/test/mesa_demo/gears
MIRROR_FROM_EGLUT := src/test/mesa_demo/eglut
content: $(MIRROR_FROM_GEARS) $(MIRROR_FROM_EGLUT) LICENSE
$(MIRROR_FROM_GEARS):
$(mirror_from_rep_dir)
$(MIRROR_FROM_EGLUT):
$(mirror_from_rep_dir)
LICENSE:
mv $(MIRROR_FROM_GEARS)/LICENSE $@

View File

@ -0,0 +1 @@
2021-09-23-i 4c3e7580ba553c657208b41cb893d86c86a16e19

View File

@ -0,0 +1,7 @@
base
os
framebuffer_session
input_session
mesa
gui_session
libc

View File

@ -0,0 +1,20 @@
/*
* Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
* AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

View File

@ -1,5 +1,5 @@
TARGET = gears
LIBS = libm libc egl mesa
LIBS = base libc libm mesa egl
SRC_C = eglgears.c eglut.c
SRC_CC = eglut_genode.cc