Brian Paul
01f7acb700
progs/glsl: remove/replace //-style comments
15 years ago
Brian Paul
79394f0267
progs/glsl: silence warnings, remove debug code, adjust window size, etc
15 years ago
RALOVICH, Kristóf
4e328774d4
demos: import GLSL raytracing demos
15 years ago
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.
15 years ago
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>
15 years ago
Vinson Lee
fce72d5803
progs/tests: Add cva_huge to SCons build.
15 years ago
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.
15 years ago
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.
15 years ago
Brian Paul
c9c0baabdc
progs/tests: also test stencil INCR_WRAP mode if supported
15 years ago
Brian Paul
705ed3326c
progs/tests: comments and clean-ups
15 years ago
Brian Paul
0557d0a4b2
progs/trivial: added comments
15 years ago
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.
15 years ago
Brian Paul
bf1974b37d
progs/samples: silence warnings
15 years ago
Brian Paul
aa3cdb712f
progs/objviewer: remove debug code
15 years ago
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>
15 years ago
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>
15 years ago
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>
18 years ago
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>
15 years ago
Jeff Smith
fab1f07d6a
Grammar and spelling fixes
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
17 years ago
Brian Paul
e9f654d2fb
progs/demos: added 'f' key to toggle filtering mode in stex3d.c
15 years ago
Vinson Lee
8f7e06ddf6
progs/fpglsl: Fix GLSL compilation failures on Mac OS X.
15 years ago
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.
15 years ago
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.
15 years ago
Zack Rusin
a44f362567
fpglsl: a few more useful glsl tests
15 years ago
Zack Rusin
1ad0a0fd8f
fpglsl: set an integer uniform required by the loop example
15 years ago
Zack Rusin
5f80dad7fd
fpglsl: add some for and while loops
15 years ago
Brian Paul
3c48f40f61
progs/trivial: add -t (RTT) option for clear-fbo-scissor.c
15 years ago
Brian Paul
9a7ba79b2b
progs/trivial: added clear-fbo-scissor.c to test scissored clear of FBO
15 years ago
Brian Paul
daad54f6ce
progs/tests: add additional FBO->window test paths (disabled)
Normally use glReadPixels + glDrawPixels. Add debug/test paths for
glCopyPixels and glBlitFramebuffer.
15 years ago
Maciej Cencora
bd2239e497
progs/tests: use first color attachement
Allows the tests to be run on drivers that supports only one color attachement.
15 years ago
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.
15 years ago
José Fonseca
b999e9c03d
progs/gallium/unit: Remove the test cases.
15 years ago
José Fonseca
6718f03258
progs/gallium/unit: Skip test cases which cannot be represented in 4ub.
15 years ago
José Fonseca
709dffcd12
progs/gallium/unit: Use the shortened name to reconstruct the function being tested.
15 years ago
José Fonseca
f133861a93
progs/gallium/unit: Cleanup/fix PIPE_FORMAT_R8SG8SB8UX8U_NORM test cases.
15 years ago
Vinson Lee
ba8f4c5d36
progs/demos: Add arbocclude2 to Makefile and .gitignore.
15 years ago
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.
15 years ago
Jesse Barnes
77bc721a52
xdemos/omlsync: add waitformsc and swap interval code
15 years ago
Michal Krol
2b15f4fc68
progs: Add arbocclude2 demo.
15 years ago
Jesse Barnes
b6456dc234
xdemos: add OML sync test
Add program to test glXSwapBuffersMscOML behavior. Based on glsync.c.
15 years ago
George Sapountzis
aae81a7681
fix getprocaddress test
15 years ago
José Fonseca
be1b7d1a04
progs/gallium/unit: Test (un)pack_4ub.
Most of them are failing.
15 years ago
José Fonseca
c2ba284386
progs/gallium/unit: Remove PIPE_FORMAT_R8G8B8X8_SNORM test cases.
15 years ago
José Fonseca
8598cebf43
progs/gallium/unit: Add test cases for single precision floats.
15 years ago
José Fonseca
77d9e93901
progs/gallium/unit: Add test cases for Nx16 and Nx32 integer formats.
15 years ago
José Fonseca
915bbc8b0b
progs/gallium/unit: Add more test cases.
15 years ago
José Fonseca
4e1aa4a812
progs/gallium/python: Rename pipe formats.
15 years ago
José Fonseca
3b67f87970
gallium/unit: Rename pipe formats.
15 years ago
José Fonseca
496aa4793a
rbug: Rename pipe formats.
15 years ago
José Fonseca
b152abe914
progs/gallium/unit: Rename PIPE_FORMAT_A8B8G8R8_SNORM.
15 years ago