Chia-I Wu
8311a49b2d
progs/egl: Pass EGLDisplay to eglCopyBuffers.
...
X Display was wrongly passed to eglCopyBuffers.
2010-01-18 17:07:19 +08:00
Jakob Bornecrantz
b01ffb12ed
Merge branch 'mesa_7_7_branch'
...
Conflicts:
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/gallium/auxiliary/util/Makefile
src/gallium/drivers/r300/r300_state_derived.c
2010-01-14 22:31:04 +00:00
Brian Paul
7fcfb71931
progs/trivial: test user clip plane in tri-point-line-clipped.c
2010-01-14 09:38:47 -07:00
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...
2010-01-14 09:22:30 -07:00
Vinson Lee
8e9ceb8309
progs/xdemos: Remove unnecessary header from corender.c.
2010-01-11 20:24:57 -08:00
Vinson Lee
477d51537f
progs/trivial: Remove unnecessary headers from tri-fbo-tex.c.
2010-01-11 20:21:50 -08:00
Vinson Lee
7241f5140f
progs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.
2010-01-11 20:15:59 -08:00
Vinson Lee
ae8ed89f24
progs/tests: Remove duplicate included header in vparray.c.
2010-01-11 19:58:08 -08:00
Vinson Lee
6ed607cce6
progs/tests: Add newline to end of printf in vparray.c.
2010-01-11 19:56:04 -08:00
Vinson Lee
7bfa54c6a4
progs/redbook: Remove unnecessary header from aapoly.c.
2010-01-11 19:52:22 -08:00
Vinson Lee
2178abfba3
progs/glsl: Remove duplicate included header from shtest.c.
2010-01-11 19:42:55 -08:00
Vinson Lee
78ddce9fda
progs/demos: Remove unnecessary header from morph3d.c.
2010-01-11 19:29:26 -08:00
Vinson Lee
f07e87ffba
progs/tests: Silence fprintf format warning.
2010-01-11 19:16:36 -08:00
Vinson Lee
b4bc208529
progs/demos: Remove unnecessary header from isosurf.c.
2010-01-11 19:03:18 -08:00
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>
2010-01-12 10:55:35 +08:00
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>
2010-01-12 10:55:35 +08:00
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>
2010-01-12 10:55:35 +08:00
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>
2010-01-12 10:55:35 +08:00
Jesse Barnes
c6ef705e41
Merge branch 'master' of ssh://people.freedesktop.org/~jbarnes/mesa
...
Conflicts due to DRI1 removal:
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_screen.c
2010-01-11 15:23:29 -05:00
Jesse Barnes
c642f3941b
xdemos/glsync: handle no sync method better
...
Print out count, finish rendering, etc. Makes the -sn option more useful.
2010-01-08 12:37:44 -05:00
Jesse Barnes
0269dc19b5
xdemos/glsync: check glXMakeCurrent return value
...
Since this program is used for testing, catching this case can be helpful.
2010-01-08 12:37:43 -05:00
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.
2010-01-08 12:37:43 -05:00
Jesse Barnes
f35f666f81
xdemos/glsync: Add swap interval support to glsync test
2010-01-08 12:37:43 -05:00
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>
2010-01-08 12:31:10 -05:00
Brian Paul
fd70841121
Merge branch 'mesa_7_7_branch'
...
Conflicts:
src/mesa/drivers/dri/i965/brw_wm_emit.c
2010-01-08 08:21:12 -07:00
Brian Paul
7c55fe9bfd
progs/fp: increase buffer size to read larger shaders
2010-01-07 09:20:48 -07:00
Brian Paul
2b7a4b2c0e
progs/fp: remove invalid tri-inv.c test
...
INV is not a valid instruction.
2010-01-07 08:22:39 -07:00
Vinson Lee
d42467687e
progs/demos: Assert that input to malloc is valid.
2010-01-06 21:39:44 -08:00
Vinson Lee
6d6c9c6688
progs/demos: Remove unnecessary header from fbotexture.c.
2010-01-11 00:24:39 -08:00
Vinson Lee
199dedd6dd
progs/demos: Check upper bounds of input in manywin.c.
2010-01-10 01:57:13 -08:00
Vinson Lee
0c7814fe23
progs/demos: Bounds check input to fire.c.
2010-01-10 00:40:46 -08:00
Vinson Lee
683e3cb8db
progs/tests: Silence 'missing initializer' warnings.
2010-01-08 23:08:57 -08:00
Vinson Lee
223c8482ca
progs/glsl: Silence uninitialized variable warning.
2010-01-08 22:10:52 -08:00
Vinson Lee
3b82de92a0
progs/demos: Add missing initializers in engine.c.
2010-01-08 22:02:49 -08:00
Vinson Lee
45ac10fe6a
progs/xdemos: Check for string overflow.
2010-01-06 18:19:46 -08:00
Vinson Lee
25ffd76278
progs/xdemos: Check for string overflow.
2010-01-06 18:08:41 -08:00
Vinson Lee
4c45810d57
progs/xdemos: Remove comma at end of enumerator list.
2010-01-06 15:35:18 -08:00
Vinson Lee
96a4e4552d
progs/xdemos: Use temporary variables.
...
This was missed from the previous commit to glxheads.c.
2010-01-06 15:33:13 -08:00
Vinson Lee
c1dad22d71
progs/glsl: Prevent possible string overflow.
2010-01-06 15:25:42 -08:00
Vinson Lee
f4952f040b
progs/xdemos: Prevent possible string overflow.
2010-01-06 14:56:43 -08:00
Brian Paul
5ac16495a2
Merge branch 'mesa_7_7_branch'
...
Conflicts:
docs/relnotes.html
src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
src/gallium/drivers/r300/r300_cs.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/main/enums.c
2010-01-04 19:16:24 -07:00
Vinson Lee
8a29e3f8e8
progs/egl: Silence uninitialized variable warnings.
2010-01-03 21:39:20 -08:00
Vinson Lee
3ea5a95078
progs/samples: Silence compiler warnings.
2010-01-03 21:29:33 -08:00
Vinson Lee
1da47ac20e
progs/vp: Ensure null-terminated byte string.
2010-01-03 02:38:22 -08:00
Vinson Lee
c9c6e9a39e
progs/tests: Silence uninitialized variable warning.
2010-01-02 21:58:40 -08:00
Vinson Lee
32d18924df
progs/tests: Silence warn_unused_result warning.
2010-01-02 21:52:51 -08:00
Vinson Lee
646c8ce032
progs/samples: 'Silence no previous prototype' warnings.
2010-01-01 17:54:11 -08:00
Vinson Lee
ad9defdd9c
progs/rbug: s/wait/rbug_wait/
...
wait conflicts with wait in /usr/include/sys/wait.h.
2010-01-01 16:25:37 -08:00
José Fonseca
7bbf7f94ea
scons: Build progs together with everything else.
...
This is a substantial reorganization, This particular commit enables:
- building the progs for unices platforms
- glew is now built as a shared library (it is the default, and it is
inconvenient and pointless to shift away from that default)
- all progs get built by default
2010-01-01 12:16:19 +00:00
José Fonseca
58b401315b
progs: Ignore derived files.
2010-01-01 12:16:19 +00:00