Commits on Source (9)
-
Erik Faye-Lund authored
There's two things that differs about the geometry position of this port of glxgears: 1. The camera is moved back by the wrong amount. 2. The projection matrix is computed the wrong way. So let's remedy this, and make the rendering closer to the original. Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Erik Faye-Lund authored
glxgears uses the default value for ambient light, which is 0.2. We should do the same. This makes these two demos look the same. Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Erik Faye-Lund authored
glxgears smooth-shades the inner face, so let's do that here as well for visual parity. Reviewed-by:
Adam Jackson <ajax@redhat.com>
-
Jan Beich authored
GCC < 5 defaults to -std=gnu89, failing to build: glxgears.c: In function 'init': glxgears.c:413: error: 'for' loop initial declaration used outside C99 mode Fixes: 8c73555b ("glxgears / wglgears: adjust colors for sRGB") Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com>
-
Jose Fonseca authored
-
Jose Fonseca authored
This sample is broken, it's not easy to fix, and it's too complicated/niche to be worth the hassle.
-
Jose Fonseca authored
-
Jose Fonseca authored
-
Jose Fonseca authored
glad is a more modern, cleaner, and flexible alternative to GLEW. In particular it has first-class citizen support for OpenGL ES end EGL. Glad can't be used just for defines. For old demos which only need defines, we could bundle Khronos glext, but for now place the necessary defines on gl_wrap.h
Showing
- .gitlab-ci.yml 0 additions, 1 deletion.gitlab-ci.yml
- CMakeLists.txt 2 additions, 10 deletionsCMakeLists.txt
- configure.ac 2 additions, 6 deletionsconfigure.ac
- index.html 4 additions, 9 deletionsindex.html
- src/CMakeLists.txt 2 additions, 0 deletionssrc/CMakeLists.txt
- src/Makefile.am 1 addition, 0 deletionssrc/Makefile.am
- src/demos/CMakeLists.txt 2 additions, 2 deletionssrc/demos/CMakeLists.txt
- src/demos/Makefile.am 24 additions, 22 deletionssrc/demos/Makefile.am
- src/demos/arbfplight.c 2 additions, 2 deletionssrc/demos/arbfplight.c
- src/demos/arbfslight.c 2 additions, 2 deletionssrc/demos/arbfslight.c
- src/demos/arbocclude.c 2 additions, 2 deletionssrc/demos/arbocclude.c
- src/demos/arbocclude2.c 2 additions, 2 deletionssrc/demos/arbocclude2.c
- src/demos/copypix.c 2 additions, 2 deletionssrc/demos/copypix.c
- src/demos/cubemap.c 6 additions, 9 deletionssrc/demos/cubemap.c
- src/demos/cuberender.c 2 additions, 2 deletionssrc/demos/cuberender.c
- src/demos/dinoshade.c 4 additions, 4 deletionssrc/demos/dinoshade.c
- src/demos/engine.c 2 additions, 2 deletionssrc/demos/engine.c
- src/demos/fbo_firecube.c 2 additions, 2 deletionssrc/demos/fbo_firecube.c
- src/demos/fbotexture.c 2 additions, 2 deletionssrc/demos/fbotexture.c
- src/demos/fogcoord.c 5 additions, 5 deletionssrc/demos/fogcoord.c