Vinson Lee
c9c6e9a39e
progs/tests: Silence uninitialized variable warning.
16 years ago
Vinson Lee
32d18924df
progs/tests: Silence warn_unused_result warning.
16 years ago
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
16 years ago
Brian Paul
34075d0219
progs/tests: added test for GL_EXT_draw_buffers2
Render into two color buffers (render targets). Display half of each
buffer in the window. Use different color masks for each render target.
Only enable blending for the second render target.
16 years ago
Brian Paul
08d145e1d7
progs/tests: added conditional rendering test program
16 years ago
Vinson Lee
0f6cbc55b7
progs/tests: Fix build.
(cherry picked from commit 1bf2d78b11 )
16 years ago
Vinson Lee
1bf2d78b11
progs/tests: Fix build.
16 years ago
Vinson Lee
982acbddab
progs/perf: Fix MSVC build.
(cherry picked from commit cbf46ed670 )
16 years ago
Vinson Lee
0dd9513874
progs/tests: Silence compiler warnings.
16 years ago
Vinson Lee
d5be33477e
progs/tests: Silence compiler warnings in vpeval.c.
16 years ago
Vinson Lee
44d6ab6de5
progs/tests: Silence compiler warnings in cva.c.
16 years ago
Vinson Lee
3e8b2fda21
progs/test: Initialize variable in prog_parameter.
Silences uninitialized variable compiler warning.
16 years ago
Vinson Lee
978b80c8e3
progs/tests: Add tests to Makefile.
(cherry picked from commit 76d2ec3a0a )
16 years ago
Michel Dänzer
d13c603e37
Add 'texture leak' test.
16 years ago
Vinson Lee
2cd2341ce8
progs/tests: Removed unused variable from texdown.c.
16 years ago
Vinson Lee
efb582fde7
progs/tests: Fix memory leak in texdown.c if malloc fails.
(cherry picked from commit e3cfd78969 )
16 years ago
Vinson Lee
005242f166
prog/tests: Fix MSVC build.
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 9c3197ef0a )
16 years ago
Vinson Lee
d3208678c2
progs/tests: fix MSVC build.
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit a8ed066858 )
16 years ago
Vinson Lee
97cbf4943a
progs/tests: Fix MSVC build.
(cherry picked from commit 50e113e375 )
16 years ago
Vinson Lee
a99bf51bc8
progs/tests: Fix MSVC build.
(cherry picked from commit 952bf63e2c )
16 years ago
José Fonseca
28474e1225
progs/tests: Use rand() instead of random().
Forgot these on previous commit.
(cherry picked from commit 166957abeb )
16 years ago
José Fonseca
bb6e3af939
progs/tests: Use rand() instead of random().
More portable. Same implementation on Linux.
(cherry picked from commit 699260b195 )
16 years ago
Vinson Lee
a38776419b
progs/tests: Fix MSVC build.
(cherry picked from commit f7455ad7af )
16 years ago
Vinson Lee
791b754687
prog/tests: Fix MSVC build.
(cherry picked from commit 60b6c74583 )
16 years ago
Vinson Lee
89e747920f
prog/tests: Fix MSVC build.
(cherry picked from commit 96fd13c1a0 )
16 years ago
Vinson Lee
5a25adb646
progs/tests: fix MSVC build.
(cherry picked from commit 9c778a90ea )
16 years ago
Vinson Lee
3910e88ebf
prog/tests: Fix MSVC build.
(cherry picked from commit ea862ec8ff )
16 years ago
Vinson Lee
e3cfd78969
progs/tests: Fix memory leak in texdown.c if malloc fails.
16 years ago
Vinson Lee
02c3e0b82d
progs/tests: Silence unused value warnings in sharedtex.c.
16 years ago
Vinson Lee
48deddaa6f
progs/tests: Initialize variable in getprocaddress.c.
16 years ago
Vinson Lee
773de83d3c
progs/tests: Fix memory leak in arbgpuprog.c.
16 years ago
Brian Paul
fcf8dea36c
progs/tests: silence warning
16 years ago
Brian Paul
2ff4f5a7fe
progs/tests: add alpha/blend testing to packedpixels.c
16 years ago
Vinson Lee
60c328db2d
progs/tests: Fix MSVC build.
Signed-off-by: Brian Paul <brianp@vmware.com>
16 years ago
Brian Paul
a017ad2861
progs/tests: debug code for getting texture component sizes
16 years ago
Vinson Lee
9c3197ef0a
prog/tests: Fix MSVC build.
Signed-off-by: Brian Paul <brianp@vmware.com>
16 years ago
Vinson Lee
a8ed066858
progs/tests: fix MSVC build.
Signed-off-by: Brian Paul <brianp@vmware.com>
16 years ago
Brian Paul
02b9fb9c80
progs/tests: fixes for drawbuffers.c
Disable GL_DEPTH_TEST before glDrawPixels.
Show color buffer 0 on left, color buffer 1 on right.
16 years ago
Brian Paul
1e2c517026
progs/tests: also test GL_BGRA format in getteximage.c
16 years ago
Brian Paul
635ea87374
progs/tests: added test for GL_EXT_texture_compression_s3tc support
16 years ago
Brian Paul
3bee7610be
progs/tests: added new blitfb.c test
Tests glBlitFramebuffer() between two texture/renderbuffer surfaces.
In particular, blit from level[1] of a cube map face to a 2D texture.
Used to find/fix bug in intel do_copy_texsubimage().
See commit aef1ab1073
16 years ago
Brian Paul
498fcfd315
progs/tests: added new blitfb.c test
Tests glBlitFramebuffer() between two texture/renderbuffer surfaces.
In particular, blit from level[1] of a cube map face to a 2D texture.
Used to find/fix bug in intel do_copy_texsubimage().
See commit aef1ab1073
16 years ago
Vinson Lee
50e113e375
progs/tests: Fix MSVC build.
16 years ago
Brian Paul
d8ded352ec
progs/tests: disable blending while drawing text
16 years ago
Brian Paul
51bc12d623
progs/tests: fix sub texture offsets
16 years ago
Brian Paul
b01937a3c9
progs/tests: print requested/internal format info
16 years ago
Vinson Lee
952bf63e2c
progs/tests: Fix MSVC build.
16 years ago
Brian Paul
82ffc5884c
progs/tests: draw Z values as luminance, no pixel zoom
16 years ago
José Fonseca
166957abeb
progs/tests: Use rand() instead of random().
Forgot these on previous commit.
16 years ago
José Fonseca
699260b195
progs/tests: Use rand() instead of random().
More portable. Same implementation on Linux.
16 years ago