Commit Graph

2126 Commits

Author SHA1 Message Date
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
José Fonseca f15469039a util: Remove the half typedef from p_compiler.h.
Unnecessary, and doesn't even guarantee size.
2010-04-07 21:00:05 +01:00
José Fonseca 7f9444050f util: Implement YUV and subsampled RGB format conversion. 2010-04-07 19:47:24 +01:00
Chia-I Wu 216c76c820 progs/egl: Correctly check GL_OES_EGL_image.
The hack was added because GL_OES_EGL_image was not exported in the
extension string.
2010-04-06 18:54:23 +08:00
Chia-I Wu 0942ed45b3 progs/egl: Fix the blank window in pbuffer demo.
EGL requires eglSwapBuffers to be called on the current surface.
2010-04-06 13:48:59 +08:00
Chia-I Wu f51f62e8ed progs/egl: Port drawtex and torus to eglut.
This brings the demos also to KMS and removes about 400 duplicated lines
of code.
2010-04-06 13:48:59 +08:00
Vinson Lee 5399c6dfa1 progs: Include X11 headers and libraries in SCons build.
Fixes Mac OS X SCons build.
2010-04-04 19:15:01 -07:00
Ian Romanick 4fb2daf42c Merge branch '7.8' 2010-04-04 16:54:00 -07:00
Chia-I Wu ad3575e2dd progs/egl: Add an OpenGL ES demo for EGL_OES_image_pixmap.
The demo uses a Pixmap as its drawing area, and whatever is drawn on the
pixmap will be used as a texture to draw a cube.
2010-04-04 22:07:20 +08:00
Jeremy Huddleston 71b2f1d8e6 xdemos: Build object files first
This helps debugging on darwin.

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-03 11:23:09 -07:00
José Fonseca 47e6142658 util: Revert unsolicited, untested, unreviewed, and broken changes to format support.
Not all is bad, but I'm afraid I'll have to throw the baby with the water
given they are all tied to together.
2010-04-03 00:51:19 +01:00
José Fonseca dd194b6932 python/tests: Output test results in a format that Hudson CI can understand. 2010-04-03 00:20:58 +01:00
Vinson Lee c87e6e50ee progs/gallium/unit: Silence uninitialized variable warnings. 2010-04-02 01:08:31 -07:00
Vinson Lee 36ed9a7f13 progs/gallium/unit: Move declaration before code.
Fixes SCons build.
2010-04-01 22:29:23 -07:00
Luca Barbieri 2a090ae80a gallium/util: revert util_format_init addition
Putting calls to util_format_init all over the codebase is infeasible.

Instead, half float tables are pregenerated, and the s3tc library is
loaded on demand.

I believe this is a solution that combines performance, cleanliness,
flexibility and portability.
2010-04-02 06:16:30 +02:00
Luca Barbieri 5126683e3b gallium/util: add util_format_is_supported to check for pack/unpack
This improves the code by making it more readable, and removes
special knowledge of S3TC and other formats from softpipe.
2010-04-02 06:16:30 +02:00
Luca Barbieri 6259264c57 progs/gallium: add unit test for u_half 2010-04-02 06:16:30 +02:00
Chia-I Wu c36d15d158 progs/egl: Update .gitignore. 2010-04-02 10:03:31 +08:00
Chia-I Wu 1054f22e48 progs/egl: Link to eglut first.
This moves eglut before EGL so that the symbols can be resolved.
2010-04-02 10:01:00 +08:00