Jakob Bornecrantz
87ac117d67
progs/gallium: Add trivial gallium demos
2010-03-26 01:36:45 +01:00
Vinson Lee
3fcfd69fec
progs/glsl: Fix vsraytrace GLSL compilation error.
...
Fixes the following GLSL error on Mac OS X.
'=' : assigning non-constant to 'const 3-component vector of float'
2010-03-24 22:53:23 -07:00
Vinson Lee
3bccb5447b
progs/glsl: Add raytracing demos to SCons build.
2010-03-24 22:36:49 -07:00
Brian Paul
f0e04b0944
progs/demos: add other modes/patterns to dissolve demo
2010-03-24 16:29:17 -06:00
Brian Paul
01f7acb700
progs/glsl: remove/replace //-style comments
2010-03-24 09:08:24 -06:00
Brian Paul
79394f0267
progs/glsl: silence warnings, remove debug code, adjust window size, etc
2010-03-24 09:04:17 -06:00
RALOVICH, Kristóf
4e328774d4
demos: import GLSL raytracing demos
2010-03-24 09:04:14 -06:00
Chia-I Wu
99386921e7
progs/egl: Link xeglthreads to libpthread.
...
This should hopefully fix a build failure reported by Chris Ball when
binutils-gold is used.
2010-03-24 08:46:10 +08:00
Dan Nicholson
e725ef171b
Change libX11 variables to not conflict with AC_PATH_XTRA
...
The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir
parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars
for linking with Xlib to avoid the conflict.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-03-23 13:26:50 -07:00
Brian Paul
182c42c8da
Merge branch '7.8'
...
Conflicts:
src/gallium/drivers/cell/ppu/cell_screen.c
src/mesa/state_tracker/st_cb_drawpixels.c
2010-03-22 09:07:46 -06:00
Vinson Lee
fce72d5803
progs/tests: Add cva_huge to SCons build.
2010-03-21 19:21:11 -07:00
Vinson Lee
1e7d65bb5b
progs/tests: Include stddef.h for ptrdiff_t on all platforms.
...
stddef.h is the standard C header that defines ptrdiff_t.
Fixes build of cva_huge on Mac OS X.
2010-03-21 19:09:54 -07:00
Pauli Nieminen
a81cd67a4f
tests: Add test for huge client arrays that has to be split.
...
When running this test case in valgrind report includes read of unitialized
value in _tnl_draw_prims. The bug doesn't cause any vissible errors.
Bug is caused by vbo_split_copy that is calling draw function with max_index
one past the end instead of the end.
2010-03-21 13:17:52 +02:00
Brian Paul
c9c0baabdc
progs/tests: also test stencil INCR_WRAP mode if supported
2010-03-18 15:04:39 -06:00
Brian Paul
705ed3326c
progs/tests: comments and clean-ups
2010-03-18 14:53:43 -06:00
Brian Paul
0557d0a4b2
progs/trivial: added comments
2010-03-17 16:29:34 -06:00
Brian Paul
a196a5d330
progs/samples: improve copy.c demo
...
If the test image was larger than the window, nothing was drawn because
of invalid raster position. Use glWindowPos instead of glRasterPos.
Also, use integer src/dst coordinates to avoid grabbing black pixels
outside of the src image region.
2010-03-17 10:17:06 -06:00
Brian Paul
bf1974b37d
progs/samples: silence warnings
2010-03-17 10:11:09 -06:00
Brian Paul
aa3cdb712f
progs/objviewer: remove debug code
2010-03-15 11:31:59 -06:00
Jeff Smith
8d86d395dc
Use X_LIBS from pkg-config, instead of libdir, for locating libX11
...
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-03-13 11:42:24 -08:00
Michel Dänzer
b13e305ee1
Merge branch '7.8'
2010-03-12 19:00:47 +01:00
Jeff Smith
9b81103b1a
Add programs to .gitignore in redbook
...
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12 08:57:34 -07:00
Jeff Smith
3aa8692883
Add programs to .gitignore in xdemos
...
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12 08:57:06 -07:00
Jeff Smith
9787060423
Add -L$(libdir) for xdemos and egl so that the right libX11 is found
...
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12 08:56:06 -07:00
Jeff Smith
fab1f07d6a
Grammar and spelling fixes
...
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12 08:55:05 -07:00
Brian Paul
e9f654d2fb
progs/demos: added 'f' key to toggle filtering mode in stex3d.c
2010-03-11 14:49:01 -07:00
Vinson Lee
8f7e06ddf6
progs/fpglsl: Fix GLSL compilation failures on Mac OS X.
2010-03-11 00:10:26 -08:00
Brian Paul
c7be039fad
progs/trivial: use -c option to use glCopyPixels()
...
Otherwise we use glRead/DrawPixels to copy the off-screen FBO image
into the window.
Looks like NVIDIA's broken when using -c (the image is upside down),
but OK with -c -t.
2010-03-10 14:37:05 -07:00
Brian Paul
d5ccbea63c
progs/trivial: make clear-fbo-scissor.c work with other GL drivers
...
NVIDIA's driver requires that the texture that we're going to render into
be complete. Need to set min/mag filters to non-mipmap modes.
Plus added other error/debug checks.
2010-03-10 14:37:05 -07:00
Zack Rusin
a44f362567
fpglsl: a few more useful glsl tests
2010-03-10 16:32:07 -05:00
Zack Rusin
1ad0a0fd8f
fpglsl: set an integer uniform required by the loop example
2010-03-10 15:42:26 -05:00
Zack Rusin
5f80dad7fd
fpglsl: add some for and while loops
2010-03-10 15:37:18 -05:00
Brian Paul
3c48f40f61
progs/trivial: add -t (RTT) option for clear-fbo-scissor.c
2010-03-10 12:19:41 -07:00
Brian Paul
9a7ba79b2b
progs/trivial: added clear-fbo-scissor.c to test scissored clear of FBO
2010-03-10 11:52:07 -07:00
Brian Paul
daad54f6ce
progs/tests: add additional FBO->window test paths (disabled)
...
Normally use glReadPixels + glDrawPixels. Add debug/test paths for
glCopyPixels and glBlitFramebuffer.
2010-03-10 10:59:06 -07:00
Maciej Cencora
bd2239e497
progs/tests: use first color attachement
...
Allows the tests to be run on drivers that supports only one color attachement.
2010-03-09 21:46:14 +01:00
Roland Scheidegger
685340a53e
Merge branch 'gallium-vertexelementcso'
...
Conflicts:
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i965/brw_draw_upload.c
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_state_derived.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_clear.c
2010-03-09 15:59:40 +01:00
Jesse Barnes
f2a035e5d8
xdemos/omlsync: improve OML WaitMsc test
...
Use the divisor/remainder for the WaitForMscOML call if a wait_interval
is passed. Allows for testing of the WaitMSC paths in the server & DDX.
2010-03-08 11:31:26 -08:00
Brian Paul
e5923a1240
Merge branch '7.8'
2010-03-08 11:43:20 -07:00
José Fonseca
b999e9c03d
progs/gallium/unit: Remove the test cases.
2010-03-06 14:36:51 +00:00
José Fonseca
6718f03258
progs/gallium/unit: Skip test cases which cannot be represented in 4ub.
2010-03-06 12:47:49 +00:00
José Fonseca
709dffcd12
progs/gallium/unit: Use the shortened name to reconstruct the function being tested.
2010-03-06 12:47:01 +00:00
José Fonseca
f133861a93
progs/gallium/unit: Cleanup/fix PIPE_FORMAT_R8SG8SB8UX8U_NORM test cases.
2010-03-06 12:45:36 +00:00
Vinson Lee
ba8f4c5d36
progs/demos: Add arbocclude2 to Makefile and .gitignore.
2010-03-05 23:18:01 -08:00
Jesse Barnes
f846a008e9
progs/xdemos: fix up GLX extension checking
...
A few of my programs were using the client string in addition to the
main extensions string to see if a feature was present. Correct this to
only check for the currently available and working extensions.
2010-03-05 11:22:05 -08:00
Jesse Barnes
77bc721a52
xdemos/omlsync: add waitformsc and swap interval code
2010-03-05 11:22:04 -08:00
Michal Krol
2b15f4fc68
progs: Add arbocclude2 demo.
2010-03-05 18:42:42 +01:00
Jesse Barnes
b6456dc234
xdemos: add OML sync test
...
Add program to test glXSwapBuffersMscOML behavior. Based on glsync.c.
2010-03-04 13:14:59 -08:00
George Sapountzis
aae81a7681
fix getprocaddress test
2010-03-04 16:34:01 +02:00
José Fonseca
be1b7d1a04
progs/gallium/unit: Test (un)pack_4ub.
...
Most of them are failing.
2010-03-03 13:47:42 +00:00