summaryrefslogtreecommitdiff
path: root/progs
AgeCommit message (Collapse)AuthorFilesLines
2010-01-23progs: add trivial ARB_half_float_vertex support.Dave Airlie2-0/+216
This is just a trivial port of vp-array.c Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-21progs/fp: testcases for GL_ARB_fragment_coord_conventionsBrian Paul4-0/+22
Based on a patch from Luca Barbieri but moved the comments after the !!ARBfp1.0 header
2010-01-20Merge remote branch 'origin/opengl-es-v2'Chia-I Wu18-0/+5482
2010-01-18progs/egl: Pass EGLDisplay to eglCopyBuffers.Chia-I Wu1-1/+1
X Display was wrongly passed to eglCopyBuffers.
2010-01-14Merge branch 'mesa_7_7_branch'Jakob Bornecrantz16-20/+30
Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
2010-01-14progs/trivial: test user clip plane in tri-point-line-clipped.cBrian Paul1-5/+30
2010-01-14progs/trivial: test glPolygonMode(POINT/LINE) with frustum clippingBrian Paul3-0/+93
Note whether the new verts introduced by clipping show up as points and lines along the edge of the window...
2010-01-11progs/xdemos: Remove unnecessary header from corender.c.Vinson Lee1-1/+0
2010-01-11progs/trivial: Remove unnecessary headers from tri-fbo-tex.c.Vinson Lee1-2/+0
2010-01-11progs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.Vinson Lee1-1/+0
2010-01-11progs/tests: Remove duplicate included header in vparray.c.Vinson Lee1-1/+0
2010-01-11progs/tests: Add newline to end of printf in vparray.c.Vinson Lee1-1/+1
2010-01-11progs/redbook: Remove unnecessary header from aapoly.c.Vinson Lee1-1/+0
2010-01-11progs/glsl: Remove duplicate included header from shtest.c.Vinson Lee1-1/+0
2010-01-11progs/demos: Remove unnecessary header from morph3d.c.Vinson Lee1-1/+0
2010-01-12progs/es2: Correctly set renderable type and client version.Chia-I Wu3-7/+23
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>
2010-01-12progs/es1: Bind texture image after rendering.Chia-I Wu1-3/+5
Unlike FBO, eglBindTexImage is supposed to be called after rendering. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12Merge branch 'master' into opengl-es-v2Chia-I Wu342-1268/+2401
Conflicts: src/mesa/main/dd.h
2010-01-11progs/tests: Silence fprintf format warning.Vinson Lee1-2/+2
2010-01-11progs/demos: Remove unnecessary header from isosurf.c.Vinson Lee1-1/+0
2010-01-12progs/egl: Fix screen surface demos.Chia-I Wu5-10/+22
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-12progs/egl: glGenTextures is called too early in xeglbindtex.Chia-I Wu1-2/+2
It should be called after eglMakeCurrent. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12progs: Check the number of configs returned by eglChooseConfig.Chia-I Wu6-10/+14
A successful eglChooseConfig call does not imply there are valid configs. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12progs: Add missing EGL_RENDERABLE_TYPE for EGL demos.Chia-I Wu6-0/+7
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-11Merge branch 'master' of ssh://people.freedesktop.org/~jbarnes/mesaJesse Barnes4-41/+274
Conflicts due to DRI1 removal: src/mesa/drivers/dri/intel/intel_context.c src/mesa/drivers/dri/intel/intel_screen.c
2010-01-08xdemos/glsync: handle no sync method betterJesse Barnes1-8/+4
Print out count, finish rendering, etc. Makes the -sn option more useful.
2010-01-08xdemos/glsync: check glXMakeCurrent return valueJesse Barnes1-1/+5
Since this program is used for testing, catching this case can be helpful.
2010-01-08xdemos/glsync: Make glsync test draw a rectangleJesse Barnes1-34/+49
Doing simple buffer clears isn't enough to actually allocate render buffers, we need to do real drawing.
2010-01-08xdemos/glsync: Add swap interval support to glsync testJesse Barnes1-3/+17
2010-01-08DRI2: add OML_sync_control supportJesse Barnes3-0/+204
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-08Merge branch 'mesa_7_7_branch'Brian Paul9-120/+69
Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c
2010-01-07progs/fp: increase buffer size to read larger shadersBrian Paul1-1/+1
2010-01-07progs/fp: remove invalid tri-inv.c testBrian Paul3-113/+0
INV is not a valid instruction.
2010-01-06progs/demos: Assert that input to malloc is valid.Vinson Lee1-0/+2
2010-01-11progs/demos: Remove unnecessary header from fbotexture.c.Vinson Lee1-1/+0
2010-01-10progs/demos: Check upper bounds of input in manywin.c.Vinson Lee1-0/+2
2010-01-10progs/demos: Bounds check input to fire.c.Vinson Lee1-1/+7
2010-01-08progs/tests: Silence 'missing initializer' warnings.Vinson Lee2-2/+2
2010-01-08progs/glsl: Silence uninitialized variable warning.Vinson Lee1-1/+1
2010-01-08progs/demos: Add missing initializers in engine.c.Vinson Lee1-3/+15
2010-01-06progs/xdemos: Check for string overflow.Vinson Lee1-3/+29
2010-01-06progs/xdemos: Check for string overflow.Vinson Lee1-0/+4
2010-01-06progs/xdemos: Remove comma at end of enumerator list.Vinson Lee1-1/+1
2010-01-06progs/xdemos: Use temporary variables.Vinson Lee1-2/+2
This was missed from the previous commit to glxheads.c.
2010-01-06progs/glsl: Prevent possible string overflow.Vinson Lee1-0/+4
2010-01-06progs/xdemos: Prevent possible string overflow.Vinson Lee1-1/+27
2010-01-04Merge branch 'mesa_7_7_branch'Brian Paul13-76/+93
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-04progs/es1: Add compressed paletted texture tests to torus.Chia-I Wu1-2/+149
The tests can be toggled by `t'. It will print current texture format and the size of the image. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-03progs/egl: Silence uninitialized variable warnings.Vinson Lee2-2/+4
2010-01-03progs/samples: Silence compiler warnings.Vinson Lee1-7/+18