summaryrefslogtreecommitdiff
path: root/progs
AgeCommit message (Collapse)Author
2010-04-10Fix copyright headers.Chia-I Wu
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-09Merge branch '7.8'Brian Paul
2010-04-09util: Get all depth stencil tests passing.José Fonseca
Note the tests don't test all the paths, in particular stride, and ensuring the old value is preserved.
2010-04-09util: Reorder format tests -- group by format.José Fonseca
2010-04-09util: Add dedicated depth-stencil packing/unpacking functions.José Fonseca
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-09gallium/unit: Silence warnings.José Fonseca
2010-04-08progs/tests: added some debug code (disabled)Brian Paul
2010-04-07util: Remove the half typedef from p_compiler.h.José Fonseca
Unnecessary, and doesn't even guarantee size.
2010-04-07util: Implement YUV and subsampled RGB format conversion.José Fonseca
2010-04-06progs/egl: Correctly check GL_OES_EGL_image.Chia-I Wu
The hack was added because GL_OES_EGL_image was not exported in the extension string.
2010-04-06progs/egl: Fix the blank window in pbuffer demo.Chia-I Wu
EGL requires eglSwapBuffers to be called on the current surface.
2010-04-06progs/egl: Port drawtex and torus to eglut.Chia-I Wu
This brings the demos also to KMS and removes about 400 duplicated lines of code.
2010-04-04progs: Include X11 headers and libraries in SCons build.Vinson Lee
Fixes Mac OS X SCons build.
2010-04-04Merge branch '7.8'Ian Romanick
2010-04-04progs/egl: Add an OpenGL ES demo for EGL_OES_image_pixmap.Chia-I Wu
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-03xdemos: Build object files firstJeremy Huddleston
This helps debugging on darwin. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-03util: Revert unsolicited, untested, unreviewed, and broken changes to format ↵José Fonseca
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-03python/tests: Output test results in a format that Hudson CI can understand.José Fonseca
2010-04-02progs/gallium/unit: Silence uninitialized variable warnings.Vinson Lee
2010-04-01progs/gallium/unit: Move declaration before code.Vinson Lee
Fixes SCons build.
2010-04-02gallium/util: revert util_format_init additionLuca Barbieri
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-02gallium/util: add util_format_is_supported to check for pack/unpackLuca Barbieri
This improves the code by making it more readable, and removes special knowledge of S3TC and other formats from softpipe.
2010-04-02progs/gallium: add unit test for u_halfLuca Barbieri
2010-04-02progs/egl: Update .gitignore.Chia-I Wu
2010-04-02progs/egl: Link to eglut first.Chia-I Wu
This moves eglut before EGL so that the symbols can be resolved.
2010-04-02gallium/util: add util_format_init that inits s3tc and util_halfLuca Barbieri
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-01Revert accidental commits from the xquartz treeJeremy Huddleston
This reverts commit 9aadc793f3db64cefa0b08f18abad424a659dacc. This reverts commit 69ea4e7718efb60b6b0d795a355cebd6712ceac1. This reverts commit dbe8b013936d977ec63d6607bfd2fc6772d29787. This reverts commit 23215ef4d60a86d9f3b3fdc08e3fdadc59e98890. This reverts commit 9495e3703062d1ddaf3161f4efc23f0b51284d9b. This reverts commit 0594cf70883b64692ba617d85f4f9b4e636e5c2b. This reverts commit 86a7978d37393ee34f876569ac06ffdb8d7289ae. This reverts commit 437902ce978cde9a0e1aa260f12dc232a8501c42.
2010-04-01xdemos: Build object files firstJeremy Huddleston
This helps debugging on darwin. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01xdemos: Fix a build failure for non-autoconf configsJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01gallium/util: rewrite global constructor system for half floats (GCC/MSVC only!)Luca Barbieri
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-01python/tests: We're using a rgba8 rendertarget so sample only in the [0, 1] ↵José Fonseca
range.
2010-04-01python/tests: Several cleanups.José Fonseca
2010-04-01progs/egl: Port OpenVG lion and sp to eglut.Chia-I Wu
2010-04-01progs/egl: Port ES1 gears to eglut.Chia-I Wu
As gears in the last demo under "screen" subdirectory, this also removes the directory.
2010-04-01progs/egl: Port ES1 tri to eglut.Chia-I Wu
This also removes EGL_MESA_screen_surface version of ES1 tri as eglut supports the extension.
2010-04-01progs/egl: Replace egltri by xegl_tri.Chia-I Wu
With the switch to eglut, xegl_tri supports both X11 and EGL_MESA_screen_surface. Have it replace egltri.
2010-04-01progs/egl: Porg xegl_tri to eglut.Chia-I Wu
2010-04-01progs/egl: Port eglgears to eglut.Chia-I Wu
2010-04-01progs/egl: Add eglut.Chia-I Wu
eglut is a simple library with GLUT-like API. It is intended to be used by simple EGL demos.
2010-04-01progs/openvg: Move OpenVG demos to a subdirectory of progs/egl.Chia-I Wu
That is, move progs/openvg/demos to progs/egl/openvg, progs/openvg/trivial to progs/egl/openvg/trivial.
2010-04-01progs/es: Move OpenGL ES demos to subdirectories of progs/egl.Chia-I Wu
Move progs/es1/xegl -> progs/egl/opengles1, progs/es1/screen -> progs/egl/opengles1/screen, progs/es2/xegl -> progs/egl/opengles2.
2010-04-01progs/egl: Move demos a level deeper.Chia-I Wu
Move the demos to "opengl" subdirectory.
2010-04-01gallium/unit: Invoke util_half_init_tables().José Fonseca
half float formats now pass the tests.
2010-04-01util: Add support for other DXTn RGBA formats.José Fonseca
2010-04-01util: Get DXT1_RGB format working correctly.José Fonseca
2010-04-01util: Add test case for PIPE_FORMAT_DXT1_RGB.José Fonseca
2010-04-01util: Allow to have block format test casesJosé Fonseca
2010-04-01gallium/unit: Install test in build/xxx/binJosé Fonseca
2010-03-31util: Make the accessors bidimensional again.José Fonseca
Otherwise there's no way to unpack blocks with height >1
2010-03-31util: Add callback to fetch a single pixel.José Fonseca