Brian Paul
9fd7e9ef05
Merge branch 'mesa_7_6_branch'
2009-10-14 09:40:05 -06:00
Brian Paul
31f7e8efb2
progs/Makefile: remove extra quoting
...
This reverts part of commit 115edf24a9 and
fixes the error: "/bin/sh: line 0: test: too many arguments".
2009-10-14 09:37:53 -06:00
Brian Paul
ce3801ab87
Merge branch 'mesa_7_6_branch'
2009-10-14 09:22:30 -06:00
Vinson Lee
ea862ec8ff
prog/tests: Fix MSVC build.
2009-10-14 07:52:39 -06:00
Tom Fogal
115edf24a9
Fix build when PROGRAM_DIRS is empty.
...
SUBDIRS just takes PROGRAM_DIRS value. If PROGRAM_DIRS gets set
to the empty string (as can happen when building only OSMesa), a
'for' loop will lack anything to iterate over, causing a parse
error.
This fixes the issue by making sure SUBDIRS is the null string
when PROGRAM_DIRS is, and wrapping the for loops in if's, causing
them only to execute if there are directories to iterate over.
2009-10-13 16:22:09 -06:00
Vinson Lee
96fd13c1a0
prog/tests: Fix MSVC build.
2009-10-12 18:05:23 -06:00
Vinson Lee
cbf46ed670
progs/perf: Fix MSVC build.
2009-10-10 10:45:16 -06:00
Vinson Lee
76d2ec3a0a
progs/tests: Add tests to Makefile.
2009-10-09 07:24:37 -06:00
Jakob Bornecrantz
023bab675a
progs/perf: Ignores!
2009-10-09 14:00:15 +01:00
José Fonseca
d54e9f54d0
progs: Remove unused empty file.
2009-10-09 11:08:17 +01:00
Vinson Lee
f7455ad7af
progs/tests: Fix MSVC build.
2009-10-08 08:08:11 -06:00
Nicolai Hähnle
5b4c0b864a
Merge branch 'mesa_7_6_branch'
2009-10-07 20:39:22 +02:00
Brian Paul
f36425b569
progs/xdemos: test glXQueryDrawable()
2009-10-07 09:41:38 -06:00
Brian Paul
846a6b0695
progs/xdemos: fix swapped parameters to CreatePbuffer()
2009-10-07 09:41:38 -06:00
Vinson Lee
4b3cbecb3a
progs/test: Fix MSVC build.
2009-10-07 07:54:31 -06:00
Vinson Lee
9c778a90ea
progs/tests: fix MSVC build.
2009-10-06 16:02:47 -06:00
Vinson Lee
017fae04ec
progs/perf: Fix MSVC build.
2009-10-06 09:13:14 -06:00
Brian Paul
55770d09c1
Merge branch 'mesa_7_6_branch'
...
Conflicts:
src/gallium/auxiliary/util/u_cpu_detect.c
2009-10-05 14:42:08 -06:00
Jon TURNEY
a15d9ca9cc
Fix building of GLSL demos which use M_PI
...
Some <math.h> files do not define M_PI, in which case, provide our own definition
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-10-05 11:07:23 -06:00
Brian Paul
15c57648cd
objviewer: remove disabled code
2009-10-01 13:14:50 -06:00
Brian Paul
9745e26adb
objviewer: mouse/keyboard info in README file
2009-10-01 13:14:50 -06:00
Brian Paul
8d93a4c639
objview: clean up drawing VBO code
2009-10-01 13:14:50 -06:00
Brian Paul
c7c62521fb
objview: set skybox texture filter
2009-10-01 13:14:50 -06:00
Brian Paul
336994e54c
objview: check GL version/extension
2009-10-01 13:14:49 -06:00
Brian Paul
ca1bda552d
progs/objviewer: Wavefront .obj file loader/viewer demo
...
Adapted from code written by Nate Robins. See README.txt.
2009-10-01 13:14:48 -06:00
Chia-I Wu
e82b02c7e8
progs/egl: Make demo3 work again.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30 08:15:30 -06:00
Chia-I Wu
28c2190336
progs/egl: Check EGL_MESA_screen_surface is supported in demo2.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30 08:15:30 -06:00
Chia-I Wu
e0b2848f4f
progs/egl: Fix a crash in demo1.
...
The variable "configs" in main() is used without initialization.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30 08:15:30 -06:00
Chia-I Wu
fa8df0c40d
progs/egl: Replace EGL_i915 by EGL_DEFAULT_DISPLAY.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30 08:15:30 -06:00
Vinson Lee
6920a355c1
progs/perf: Include local headers before installed headers.
...
Fixes compilation errors on platforms with older installed GL headers.
2009-09-28 09:03:26 -06:00
Brian Paul
653ae04bea
progs/tests: print usage info upon SPACE/u
2009-09-28 08:44:43 -06:00
Brian Paul
c8de476189
progs/tests: re-indent mipmap_limits.c
2009-09-28 08:44:43 -06:00
Jakob Bornecrantz
bcca927562
progs/rbug: Link to math
2009-09-26 12:36:01 -07:00
Brian Paul
c9ddd6f810
progs/perf: glGenerateMipmap() test
2009-09-24 19:38:04 -06:00
Keith Whitwell
09a23ac3c1
progs/perf: fix warnings in readpixels test
2009-09-24 16:52:14 +01:00
Keith Whitwell
d93f022936
progs/perf: fix typo in sconscript
2009-09-24 16:50:27 +01:00
Keith Whitwell
6e0b56edf8
progs/perf: accept GL3.x also
2009-09-24 16:43:15 +01:00
Brian Paul
fa0816b17c
progs/perf: added glReadPixels benchmark
2009-09-23 14:05:05 -06:00
Brian Paul
489f8bc86f
progs/perf: also request a stencil buffer
2009-09-23 14:05:05 -06:00
Michal Krol
a0549f6634
progs/perf: Actually bind the newly created vbo.
2009-09-23 20:24:35 +02:00
Keith Whitwell
890679d432
Merge branch 'softpipe-opt'
...
Conflicts:
progs/demos/cubemap.c
src/gallium/drivers/softpipe/sp_tex_sample.c
src/gallium/drivers/softpipe/sp_texture.c
2009-09-23 17:37:28 +01:00
Brian Paul
aae77319c0
progs/perf: set TexSubImage4=FALSE
2009-09-23 08:06:37 -06:00
Brian Paul
d04fa73cec
progs/perf: added glCopyTex[Sub]Image2D test
2009-09-22 15:39:05 -06:00
Brian Paul
da0e4e557b
progs/perf: test glGetTexImage() also
2009-09-22 12:26:12 -06:00
Brian Paul
67d7021ae0
progs/perf: add missing texture enable in fbobind.c
2009-09-22 11:15:11 -06:00
Brian Paul
ed113da12e
progs/perf: added fbobind.c test to test FBO binding speed
2009-09-22 11:15:11 -06:00
Brian Paul
cfb0f2489d
progs/perf: added PerfExtensionSupported() helper
2009-09-22 11:15:11 -06:00
Keith Whitwell
0ec26cce36
teximage: add more tests, image formats
...
Add a test which creates a new texture from scratch before uploading.
Add more image formats.
Don't run all tests on all image formats.
2009-09-22 18:00:11 +01:00
Brian Paul
bae2d58827
progs/perf: add another VBO test for Create/Draw/Destroy pattern
...
Report both MB/sec and draw/sec.
2009-09-22 09:53:35 -06:00
Brian Paul
7e5004b298
progs/perf: simplify the code
2009-09-22 09:43:08 -06:00