Commit Graph

2111 Commits

Author SHA1 Message Date
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
Luca Barbieri
aee5bb5b8a gallium/util: add util_format_init that inits s3tc and util_half
Switch from auto-init to explicit init for util_half per Brian Paul's
indication.

NOTE: this is probably broken because not enough things call util_format_init.
Will be fixed shortly
2010-04-02 02:31:43 +02:00
Jeremy Huddleston
115203281c Revert accidental commits from the xquartz tree
This reverts commit 9aadc793f3.
This reverts commit 69ea4e7718.
This reverts commit dbe8b01393.
This reverts commit 23215ef4d6.
This reverts commit 9495e37030.
This reverts commit 0594cf7088.
This reverts commit 86a7978d37.
This reverts commit 437902ce97.
2010-04-01 17:01:51 -07:00
Jeremy Huddleston
86a7978d37 xdemos: Build object files first
This helps debugging on darwin.

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01 12:33:39 -07:00
Jeremy Huddleston
437902ce97 xdemos: Fix a build failure for non-autoconf configs
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01 12:14:45 -07:00
Luca Barbieri
4edffe026e gallium/util: rewrite global constructor system for half floats (GCC/MSVC only!)
NOTE: this commit will cause Gallium to fail to build on any compiler
      except GCC, the Microsoft C compiler and compatible compilers that
      claim to be one of those.

This commit removes the u_gctors.cpp mechanism, in favor of using
compiler-specific syntax to add global constructors from C files.

This solves the problem of u_gctors.o not being pulled from static
libraries and avoids using C++.

However, it needs compiler-specific support for every compiler.

The Microsoft C compiler support has not been tested.
2010-04-01 18:52:02 +02:00
José Fonseca
675fcb6cae python/tests: We're using a rgba8 rendertarget so sample only in the [0, 1] range. 2010-04-01 17:46:59 +01:00
José Fonseca
811e602954 python/tests: Several cleanups. 2010-04-01 17:46:59 +01:00
Chia-I Wu
532b7400fd progs/egl: Port OpenVG lion and sp to eglut. 2010-04-01 22:25:50 +08:00
Chia-I Wu
7b48d88407 progs/egl: Port ES1 gears to eglut.
As gears in the last demo under "screen" subdirectory, this also removes
the directory.
2010-04-01 22:25:49 +08:00
Chia-I Wu
dd7276f494 progs/egl: Port ES1 tri to eglut.
This also removes EGL_MESA_screen_surface version of ES1 tri as eglut
supports the extension.
2010-04-01 22:25:49 +08:00
Chia-I Wu
765b30849c progs/egl: Replace egltri by xegl_tri.
With the switch to eglut, xegl_tri supports both X11 and
EGL_MESA_screen_surface.  Have it replace egltri.
2010-04-01 22:25:49 +08:00
Chia-I Wu
02551cab47 progs/egl: Porg xegl_tri to eglut. 2010-04-01 22:25:49 +08:00
Chia-I Wu
589f6740ea progs/egl: Port eglgears to eglut. 2010-04-01 22:25:49 +08:00
Chia-I Wu
57cc1db87b progs/egl: Add eglut.
eglut is a simple library with GLUT-like API.  It is intended to be used
by simple EGL demos.
2010-04-01 22:25:48 +08:00
Chia-I Wu
fc3ddd4b56 progs/openvg: Move OpenVG demos to a subdirectory of progs/egl.
That is, move

  progs/openvg/demos to progs/egl/openvg,
  progs/openvg/trivial to progs/egl/openvg/trivial.
2010-04-01 22:25:48 +08:00