Commit Graph

2144 Commits

Author SHA1 Message Date
Chia-I Wu e8d8ea2a39 progs: Remove remaining EGL demos.
They have been moved to git+ssh://git.freedesktop.org/git/mesa/demos.
2010-05-21 22:13:32 -06:00
Brian Paul 6af41a5edc mesa: disable building the removed demos
This is a quick fix.
2010-05-21 14:11:42 -06:00
Eric Anholt 68fc4b415e Remove demos that have moved to git+ssh://git.freedesktop.org/git/mesa/demos.
The remaining programs are ones I've had difficulty finding a build
environment for to make the build system or are unit tests that should
probably live next to their code instead.  Hopefully people can bring
over the build for remaining pieces they care about.
2010-05-21 12:20:39 -07:00
Brian Paul 3bd5888584 progs/tests: print more info in copypixrate.c 2010-05-21 09:58:39 -06:00
Chia-I Wu 70ae8bf26f progs/egl: Fix building on cygwin.
Update the Makefiles to use variables such as EGL_LIB_NAME.  Define M_PI
if it hasn't been defined yet.
2010-05-19 13:39:40 -06:00
Zack Rusin b93fa7e2e8 vpglsl: add some simple tests with function calls 2010-05-15 00:58:43 -04:00
Brian Paul ffae54ec15 glxinfo: add queries and reporting for float and sRGB buffer types
Check for the GLX_ARB_fbconfig_float and GLX_NV_float_buffer extensions
to determine if color bufs are floating point.

Check for the GLX_EXT_framebuffer_sRGB extension to determine if the
framebuffer is sRGB capable.

Increase field size for some attribs (visual ID and buffer size) to
accomodate today's larger values.

Also print missing caveats info in verbose mode.
2010-05-14 10:55:19 -06:00
Jakob Bornecrantz 5d2e24fe18 rbug: Update and add READMEs 2010-05-12 23:06:54 +01:00
Brian Paul 92a8ba844c progs/tests: disable invalid 3D texture compression tests 2010-05-11 21:27:31 -06:00
Brian Paul 67a27b82f5 progs/tests: fix a couple bugs in the getprocaddress.c test 2010-05-11 21:21:26 -06:00
Brian Paul 0dc18841f5 progs/tests: update getprocaddress test since moving glapi files 2010-05-11 21:09:20 -06:00
Chia-I Wu 781d56eac4 progs/egl: Fix eglut with OpenGL ES 2.0.
EGL_OPENGL_ES2_BIT is not set when choosing OpenGL ES 2.0 configs.
2010-05-05 12:29:19 +08:00
Brian Paul 2649d64fee progs/demos: set line width back to 1.0 in DrawBox() 2010-05-04 17:17:04 -06:00
Kristian Høgsberg 6a191b2713 glxinfo: Get visual info when an fbconfig has an associated visual 2010-05-04 15:29:25 -04:00
Kristian Høgsberg 642839824e progs/egl/opengles2: Add es2gears demo
Because every subdirectory under progs has to have a version of gears.
2010-05-03 21:21:58 -04:00
Brian Paul babd71ba45 progs/demos: check for GL_ARB_imaging if convolutions is requested 2010-05-03 15:29:02 -06:00
Vinson Lee 33c34c0806 progs/tests: Remove meaningless const qualifiers. 2010-05-01 15:07:45 -07:00
Vinson Lee 19aa77313c progs/demos: Remove meaningless const qualifier in vao_demo.c. 2010-05-01 01:28:06 -07:00
Brian Paul 331c01ea4d progs/demos: added code to test compressed mipmap generation (disabled) 2010-04-28 10:07:23 -06:00
Brian Paul 1fa7789e82 Merge branch '7.8'
Conflicts:

	src/glx/dri2_glx.c
	src/glx/glx_pbuffer.c
2010-04-28 07:21:25 -06:00
Brian Paul 29fc97606b osdemos: replace assertion with error handler 2010-04-27 17:05:56 -06:00
Brian Paul c5bf13c537 osmesa: don't need to link with -lGL
The gl entrypoints are in libOSMesa.so
2010-04-27 16:57:43 -06:00
Vinson Lee 35d52a0626 progs/tests: Remove meaningless const qualifier in arraytexture.c. 2010-04-27 01:22:26 -07:00
Chia-I Wu fbfecda6ae progs/egl: Add egl/eglut to PROGRAM_DIRS.
Make sure eglut is built before the demos.  This should work more
reliably with make -j<N>.
2010-04-27 14:19:24 +08:00
Brian Paul 9f74fa111b progs/tests: asst. improvements to zreaddraw.c 2010-04-22 14:37:50 -06:00
Brian Paul b4a191e351 Merge branch '7.8'
Conflicts:

	src/mesa/state_tracker/st_format.c
2010-04-22 11:10:19 -06:00
Aaron Plattner 2e995cdf25 progs/demos: Fix the progs/demos/rain help text
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-21 18:13:19 -06:00
Brian Paul 5b639cdc3e progs/glsl: better comments 2010-04-21 16:30:13 -06:00
Brian Paul 94c07b1320 progs/tests: asst. changes to antialias.c 2010-04-20 10:01:52 -06:00
Dan Nicholson a69ef34640 egl: Fix demos to build with user specified Xlib
Commit 88be2171e7 fixed the egl demos on the stable branch, but now
they're spread out across multiple subdirectories.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-04-19 20:25:17 -07:00
Dan Nicholson 88be2171e7 egl: Pass flags to locate Xlib headers and libraries
eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx
driver and egl programs needs to link to libX11. Make sure we use the
locations the user told us about.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-04-19 20:21:57 -07:00
Dan Nicholson 4e7a4bed37 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>
(cherry picked from commit e725ef171b)
2010-04-19 20:21:57 -07:00
Jeff Smith 3b693fd93f 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>
(cherry picked from commit 8d86d395dc)
2010-04-19 20:21:57 -07:00
Jakob Bornecrantz a656f2f0f3 progs/tests: Ignores 2010-04-17 21:13:22 +01:00
Brian Paul 4d8f34e909 progs/tests: added stencilreaddraw to SConscript, Makefile 2010-04-14 14:32:09 -06:00
Brian Paul 205253b015 progs/tests: new stencilreaddraw.c test
Based on the zreaddraw.c test.
2010-04-14 14:32:09 -06:00
Kristian Høgsberg a30f7eb064 glxinfo: Print drawable type in verbose mode 2010-04-14 10:07:15 -04:00
José Fonseca 6917ef10f2 progs/gallium: Move into src/gallium/tests
Two reasons:
- progs will eventually have its own repository
- it is just to easy to forget updating the
  code for interface changes when it is outside of src
2010-04-13 07:05:46 +09:00
José Fonseca cd70b6bd9e progs/gallium/raw: Update symbols.
Untested -- just the same changes done to progs/gallium/python.
2010-04-12 15:32:23 +09:00
José Fonseca 19211bb5b8 progs/gallium/python: Try to fix most regressions.
Not enough for retrace to work again though.
2010-04-12 15:32:23 +09:00
Vinson Lee 039e77a7d1 progs/trivial: Update .gitignore. 2010-04-11 17:30:44 -07:00
Jakob Bornecrantz 36667036e8 progs/egl: Add lib directories to OpenVG demos 2010-04-12 01:50:52 +02:00
Vinson Lee a060194519 progs/glsl: Update .gitignore. 2010-04-10 19:51:55 -07:00
Chia-I Wu ba81b0743e Fix copyright headers.
Update the warranty disclaimer to use the more general "THE AUTHORS OR
COPYRIGHT HOLDERS".  This is done manually on files created by me.  Hope
that I do not miss anything.
2010-04-10 01:20:57 +08:00
Brian Paul 75b8c4a8f8 Merge branch '7.8' 2010-04-09 10:09:24 -06:00
José Fonseca 866d22ccce util: Get all depth stencil tests passing.
Note the tests don't test all the paths, in particular stride, and
ensuring the old value is preserved.
2010-04-09 16:32:48 +01:00
José Fonseca b1cfc195bb util: Reorder format tests -- group by format. 2010-04-09 16:32:47 +01:00
José Fonseca d3808b1b1f util: Add dedicated depth-stencil packing/unpacking functions.
Depth-stencil manually written given that each one is very close to
be a special case.

u_format_zs.c's still untested.
2010-04-09 16:32:47 +01:00
José Fonseca efae8f33f2 gallium/unit: Silence warnings. 2010-04-09 16:32:47 +01:00
Brian Paul ffedd28c9c progs/tests: added some debug code (disabled) 2010-04-08 13:11:29 -06:00