lp:~pali/mesa/mesa-demos

Created by Pali on 2014-04-12 and last modified on 2020-09-16
Get this branch:
bzr branch lp:~pali/mesa/mesa-demos

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Pali
Project:
Mesa
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://anongit.freedesktop.org/mesa/demos.

The next import is scheduled to run in 4 hours.

Last successful import was 1 hour ago.

Import started 1 hour ago on alnitak and finished 1 hour ago taking 15 seconds — see the log
Import started 7 hours ago on izar and finished 7 hours ago taking 20 seconds — see the log
Import started 13 hours ago on alnitak and finished 13 hours ago taking 20 seconds — see the log
Import started 19 hours ago on alnitak and finished 19 hours ago taking 20 seconds — see the log
Import started on 2020-09-30 on izar and finished on 2020-09-30 taking 20 seconds — see the log
Import started on 2020-09-30 on alnitak and finished on 2020-09-30 taking 20 seconds — see the log
Import started on 2020-09-30 on alnitak and finished on 2020-09-30 taking 20 seconds — see the log
Import started on 2020-09-29 on alnitak and finished on 2020-09-29 taking 20 seconds — see the log
Import started on 2020-09-29 on alnitak and finished on 2020-09-29 taking 20 seconds — see the log
Import started on 2020-09-29 on izar and finished on 2020-09-29 taking 15 seconds — see the log

Recent revisions

3842. By Jose Fonseca <email address hidden> on 2020-09-16

Use glad instead of GLEW.

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

3841. By Jose Fonseca <email address hidden> on 2020-09-16

glad: Initial import.

3840. By Jose Fonseca <email address hidden> on 2020-09-16

wgl: Prevent GL usage before wglMakeCurrent.

3839. By Jose Fonseca <email address hidden> on 2020-09-16

wgl/rtotex: Remove.

This sample is broken, it's not easy to fix, and it's too
complicated/niche to be worth the hassle.

3838. By Jose Fonseca <email address hidden> on 2020-09-16

cmake: Build glslstateschange too.

3837. By Jan Beich <email address hidden> on 2020-09-15

glxgears / wglgears: avoid C99 "for" without explicit -std=

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: 8c73555b4dd5 ("glxgears / wglgears: adjust colors for sRGB")
Reviewed-by: Erik Faye-Lund <email address hidden>

3836. By Erik Faye-Lund <email address hidden> on 2020-09-14

egl: use smooth normals for inner face

glxgears smooth-shades the inner face, so let's do that here as well for
visual parity.

Reviewed-by: Adam Jackson <email address hidden>

3835. By Erik Faye-Lund <email address hidden> on 2020-09-14

egl: match lighting of wglgears

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 <email address hidden>

3834. By Erik Faye-Lund <email address hidden> on 2020-09-14

egl: match geometry position of glxgears

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 <email address hidden>

3833. By Adam Jackson <email address hidden> on 2020-09-11

glxgears: Make the swap interval configurable

As a bonus feature you can set negative values if your driver supports
GLX_EXT_swap_control_tear, though heaven help you if your renderer is so
slow that that improves things.

Reviewed-by: Erik Faye-Lund <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.