Chia-I Wu
5fa4ea2934
progs/es2: Fix an assertion failure in tri.
EGL_SURFACE_TYPE is a config attribute, not a surface attribute. Thanks
to Mike Stroyan for pointing out this error.
15 years ago
Brian Paul
04b14e26a2
progs/tests: add another FBO test to exercise a RGBA vs. Z texture bug
See comments in file for more details.
15 years ago
Chia-I Wu
89e6eb5fbe
progs/egl: Update eglinfo to display more attributes.
Add config caveat, bind-to-texture, and renderable type. Remove double
buffer and stereo attributes.
15 years ago
Chia-I Wu
7056a74734
progs/es1: Add bindtex.
It is ported from progs/egl/xeglbindtex.c. With the OpenGL ES port, the
OpenGL version is removed.
15 years ago
Brian Paul
b8d4cbd7e2
progs/demos: new image dissolve demo
Dissolve between two images using a random pattern in the stencil
buffer and a varying stencil ref value.
15 years ago
Brian Paul
e94021660b
progs/tests: added a few more files to .gitignore
15 years ago
Vinson Lee
d40070029f
progs/tests: Remove unnecessary headers.
15 years ago
Vinson Lee
bbb41153c2
progs/glsl: Fix bump GLSL compilation error on Mac OS.
15 years ago
Vinson Lee
77b1f2fbcf
progs/glsl: Remove unused variable in bump.c.
15 years ago
Vinson Lee
07fb52bcf6
progs/glsl: Remove unnecessary header from samplers.c.
15 years ago
Alan Hourihane
dea98eb792
support an 'embedded' platform target which turns off most parts of the
build.
15 years ago
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>
15 years ago
Brian Paul
782f66c8a2
progs/tests: use glDrawRangeElements() in bufferobj.c
15 years ago
Vinson Lee
7f2f42dd80
progs/demos: Remove unnecessary header from shadowtex.c.
15 years ago
Chia-I Wu
0928418922
Revert "add segl"
This reverts commit fe33b7083b
. It was
not supposed to be pushed yet.
15 years ago
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>
15 years ago
Chia-I Wu
fe33b7083b
add segl
15 years ago
Brian Paul
2f1a49e335
progs/xdemos: add z/Z keys for scaling the rendering
15 years ago
Vinson Lee
8bc3c06d86
progs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.
15 years ago
Brian Paul
e5829ccc2b
progs/demos: call glutDestroyWindow() upon exit
15 years ago
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
15 years ago
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>
15 years ago
Chia-I Wu
8311a49b2d
progs/egl: Pass EGLDisplay to eglCopyBuffers.
X Display was wrongly passed to eglCopyBuffers.
15 years ago
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.
15 years ago
Brian Paul
7fcfb71931
progs/trivial: test user clip plane in tri-point-line-clipped.c
15 years ago
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...
15 years ago
Vinson Lee
8e9ceb8309
progs/xdemos: Remove unnecessary header from corender.c.
15 years ago
Vinson Lee
477d51537f
progs/trivial: Remove unnecessary headers from tri-fbo-tex.c.
15 years ago
Vinson Lee
7241f5140f
progs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.
15 years ago
Vinson Lee
ae8ed89f24
progs/tests: Remove duplicate included header in vparray.c.
15 years ago
Vinson Lee
6ed607cce6
progs/tests: Add newline to end of printf in vparray.c.
15 years ago
Vinson Lee
7bfa54c6a4
progs/redbook: Remove unnecessary header from aapoly.c.
15 years ago
Vinson Lee
2178abfba3
progs/glsl: Remove duplicate included header from shtest.c.
15 years ago
Vinson Lee
78ddce9fda
progs/demos: Remove unnecessary header from morph3d.c.
15 years ago
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>
15 years ago
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>
15 years ago
Vinson Lee
f07e87ffba
progs/tests: Silence fprintf format warning.
15 years ago
Vinson Lee
b4bc208529
progs/demos: Remove unnecessary header from isosurf.c.
15 years ago
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>
15 years ago
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>
15 years ago
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>
15 years ago
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>
15 years ago
Jesse Barnes
c642f3941b
xdemos/glsync: handle no sync method better
Print out count, finish rendering, etc. Makes the -sn option more useful.
15 years ago
Jesse Barnes
0269dc19b5
xdemos/glsync: check glXMakeCurrent return value
Since this program is used for testing, catching this case can be helpful.
15 years ago
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.
16 years ago
Jesse Barnes
f35f666f81
xdemos/glsync: Add swap interval support to glsync test
16 years ago
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>
16 years ago
Brian Paul
7c55fe9bfd
progs/fp: increase buffer size to read larger shaders
15 years ago
Brian Paul
2b7a4b2c0e
progs/fp: remove invalid tri-inv.c test
INV is not a valid instruction.
15 years ago
Vinson Lee
d42467687e
progs/demos: Assert that input to malloc is valid.
15 years ago