Alan Hourihane
dea98eb792
support an 'embedded' platform target which turns off most parts of the
build.
pirms 15 gadiem
Aaron Plattner
cec0e7c086
glxgears: Support GLX_EXT_swap_control for querying the current swap interval.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
pirms 15 gadiem
Brian Paul
782f66c8a2
progs/tests: use glDrawRangeElements() in bufferobj.c
pirms 15 gadiem
Vinson Lee
7f2f42dd80
progs/demos: Remove unnecessary header from shadowtex.c.
pirms 15 gadiem
Chia-I Wu
0928418922
Revert "add segl"
This reverts commit fe33b7083b
. It was
not supposed to be pushed yet.
pirms 15 gadiem
Dave Airlie
dcaf6687e8
progs: add trivial ARB_half_float_vertex support.
This is just a trivial port of vp-array.c
Signed-off-by: Dave Airlie <airlied@redhat.com>
pirms 15 gadiem
Chia-I Wu
fe33b7083b
add segl
pirms 15 gadiem
Brian Paul
2f1a49e335
progs/xdemos: add z/Z keys for scaling the rendering
pirms 15 gadiem
Vinson Lee
8bc3c06d86
progs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.
pirms 15 gadiem
Brian Paul
e5829ccc2b
progs/demos: call glutDestroyWindow() upon exit
pirms 15 gadiem
Brian Paul
1ca2285511
progs/fp: testcases for GL_ARB_fragment_coord_conventions
Based on a patch from Luca Barbieri but moved the comments after
the !!ARBfp1.0 header
pirms 15 gadiem
Marcin Slusarz
23ae318200
glxgears: unbind current context before "destroying" it
glXDestroyContext does not destroy the context if it's still
connected to some window. Unbind context from window to test it.
Signed-off-by: Brian Paul <brianp@vmware.com>
pirms 15 gadiem
Chia-I Wu
8311a49b2d
progs/egl: Pass EGLDisplay to eglCopyBuffers.
X Display was wrongly passed to eglCopyBuffers.
pirms 15 gadiem
Brian Paul
8b29d39e99
progs/trival: updated tri-scissor-tri.c test
The scissor left/right/bottom/top bounds can be moved by pressing
the l/r/b/t and L/R/B/T keys.
pirms 15 gadiem
Brian Paul
7fcfb71931
progs/trivial: test user clip plane in tri-point-line-clipped.c
pirms 15 gadiem
Brian Paul
0a82692154
progs/trivial: test glPolygonMode(POINT/LINE) with frustum clipping
Note whether the new verts introduced by clipping show up as points
and lines along the edge of the window...
pirms 15 gadiem
Vinson Lee
8e9ceb8309
progs/xdemos: Remove unnecessary header from corender.c.
pirms 15 gadiem
Vinson Lee
477d51537f
progs/trivial: Remove unnecessary headers from tri-fbo-tex.c.
pirms 15 gadiem
Vinson Lee
7241f5140f
progs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.
pirms 15 gadiem
Vinson Lee
ae8ed89f24
progs/tests: Remove duplicate included header in vparray.c.
pirms 15 gadiem
Vinson Lee
6ed607cce6
progs/tests: Add newline to end of printf in vparray.c.
pirms 15 gadiem
Vinson Lee
7bfa54c6a4
progs/redbook: Remove unnecessary header from aapoly.c.
pirms 15 gadiem
Vinson Lee
2178abfba3
progs/glsl: Remove duplicate included header from shtest.c.
pirms 15 gadiem
Vinson Lee
78ddce9fda
progs/demos: Remove unnecessary header from morph3d.c.
pirms 15 gadiem
Chia-I Wu
76e726515a
progs/es2: Correctly set renderable type and client version.
Correctly set EGL_RENDERABLE_TYPE and EGL_CONTEXT_CLIENT_VERSION for
OpenGL ES 2.0. Because es2_info is copied from es1_info, the fix for it
actually goes to es1_info.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
pirms 15 gadiem
Chia-I Wu
43f67b61fd
progs/es1: Bind texture image after rendering.
Unlike FBO, eglBindTexImage is supposed to be called after rendering.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
pirms 15 gadiem
Vinson Lee
f07e87ffba
progs/tests: Silence fprintf format warning.
pirms 15 gadiem
Vinson Lee
b4bc208529
progs/demos: Remove unnecessary header from isosurf.c.
pirms 15 gadiem
Chia-I Wu
472a601966
progs/egl: Fix screen surface demos.
Set the screen surface size to the mode size, as the spec requires the
screen surface size to be larger than the mode size. Besides, bind the
API to OpenGL as they are written in it.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
pirms 15 gadiem
Chia-I Wu
c657c80180
progs/egl: glGenTextures is called too early in xeglbindtex.
It should be called after eglMakeCurrent.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
pirms 15 gadiem
Chia-I Wu
3bcb08f6c4
progs: Check the number of configs returned by eglChooseConfig.
A successful eglChooseConfig call does not imply there are valid
configs.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
pirms 15 gadiem
Chia-I Wu
033bd95802
progs: Add missing EGL_RENDERABLE_TYPE for EGL demos.
The default value of EGL_RENDERABLE_TYPE is EGL_OPENGL_ES_BIT. The
proper values should be specified if we are not using OpenGL ES.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
pirms 15 gadiem
Jesse Barnes
c642f3941b
xdemos/glsync: handle no sync method better
Print out count, finish rendering, etc. Makes the -sn option more useful.
pirms 15 gadiem
Jesse Barnes
0269dc19b5
xdemos/glsync: check glXMakeCurrent return value
Since this program is used for testing, catching this case can be helpful.
pirms 15 gadiem
Jesse Barnes
f860aac0d8
xdemos/glsync: Make glsync test draw a rectangle
Doing simple buffer clears isn't enough to actually allocate render buffers, we
need to do real drawing.
pirms 16 gadiem
Jesse Barnes
f35f666f81
xdemos/glsync: Add swap interval support to glsync test
pirms 16 gadiem
Jesse Barnes
daf7fe69f7
DRI2: add OML_sync_control support
Add OML_sync_control support, along with a simple program for testing
it. This means adding support for the DRI2GetMSC, DRI2WaitMSC and
DRI2WaitSBC requests.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
pirms 16 gadiem
Brian Paul
7c55fe9bfd
progs/fp: increase buffer size to read larger shaders
pirms 15 gadiem
Brian Paul
2b7a4b2c0e
progs/fp: remove invalid tri-inv.c test
INV is not a valid instruction.
pirms 15 gadiem
Vinson Lee
d42467687e
progs/demos: Assert that input to malloc is valid.
pirms 15 gadiem
Vinson Lee
6d6c9c6688
progs/demos: Remove unnecessary header from fbotexture.c.
pirms 15 gadiem
Vinson Lee
199dedd6dd
progs/demos: Check upper bounds of input in manywin.c.
pirms 15 gadiem
Vinson Lee
0c7814fe23
progs/demos: Bounds check input to fire.c.
pirms 15 gadiem
Vinson Lee
683e3cb8db
progs/tests: Silence 'missing initializer' warnings.
pirms 15 gadiem
Vinson Lee
223c8482ca
progs/glsl: Silence uninitialized variable warning.
pirms 15 gadiem
Vinson Lee
3b82de92a0
progs/demos: Add missing initializers in engine.c.
pirms 15 gadiem
Vinson Lee
45ac10fe6a
progs/xdemos: Check for string overflow.
pirms 15 gadiem
Vinson Lee
25ffd76278
progs/xdemos: Check for string overflow.
pirms 15 gadiem
Vinson Lee
4c45810d57
progs/xdemos: Remove comma at end of enumerator list.
pirms 15 gadiem
Vinson Lee
96a4e4552d
progs/xdemos: Use temporary variables.
This was missed from the previous commit to glxheads.c.
pirms 15 gadiem