summaryrefslogtreecommitdiffstats
path: root/progs
Commit message (Collapse)AuthorAgeFilesLines
* util: Implement YUV and subsampled RGB format conversion.José Fonseca2010-04-071-4/+12
|
* progs/egl: Correctly check GL_OES_EGL_image.Chia-I Wu2010-04-061-1/+0
| | | | | The hack was added because GL_OES_EGL_image was not exported in the extension string.
* progs/egl: Fix the blank window in pbuffer demo.Chia-I Wu2010-04-061-1/+2
| | | | EGL requires eglSwapBuffers to be called on the current surface.
* progs/egl: Port drawtex and torus to eglut.Chia-I Wu2010-04-066-548/+150
| | | | | This brings the demos also to KMS and removes about 400 duplicated lines of code.
* progs: Include X11 headers and libraries in SCons build.Vinson Lee2010-04-041-0/+1
| | | | Fixes Mac OS X SCons build.
* Merge branch '7.8'Ian Romanick2010-04-041-30/+15
|\
| * xdemos: Build object files firstJeremy Huddleston2010-04-031-30/+15
| | | | | | | | | | | | This helps debugging on darwin. Signed-off-by: Jeremy Huddleston <[email protected]>
| * Revert accidental commits from the xquartz treeJeremy Huddleston2010-04-011-16/+31
| | | | | | | | | | | | | | | | | | | | | | 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.
| * xdemos: Build object files firstJeremy Huddleston2010-04-011-30/+15
| | | | | | | | | | | | This helps debugging on darwin. Signed-off-by: Jeremy Huddleston <[email protected]>
| * xdemos: Fix a build failure for non-autoconf configsJeremy Huddleston2010-04-011-1/+1
| | | | | | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* | progs/egl: Add an OpenGL ES demo for EGL_OES_image_pixmap.Chia-I Wu2010-04-042-0/+583
| | | | | | | | | | 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.
* | util: Revert unsolicited, untested, unreviewed, and broken changes to format ↵José Fonseca2010-04-031-1/+7
| | | | | | | | | | | | | | 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.
* | python/tests: Output test results in a format that Hudson CI can understand.José Fonseca2010-04-031-5/+69
| |
* | progs/gallium/unit: Silence uninitialized variable warnings.Vinson Lee2010-04-021-4/+4
| |
* | progs/gallium/unit: Move declaration before code.Vinson Lee2010-04-011-1/+2
| | | | | | | | Fixes SCons build.
* | gallium/util: revert util_format_init additionLuca Barbieri2010-04-021-4/+0
| | | | | | | | | | | | | | | | | | | | 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.
* | gallium/util: add util_format_is_supported to check for pack/unpackLuca Barbieri2010-04-021-3/+1
| | | | | | | | | | This improves the code by making it more readable, and removes special knowledge of S3TC and other formats from softpipe.
* | progs/gallium: add unit test for u_halfLuca Barbieri2010-04-023-1/+77
| |
* | progs/egl: Update .gitignore.Chia-I Wu2010-04-023-7/+12
| |
* | progs/egl: Link to eglut first.Chia-I Wu2010-04-023-11/+11
| | | | | | | | This moves eglut before EGL so that the symbols can be resolved.
* | gallium/util: add util_format_init that inits s3tc and util_halfLuca Barbieri2010-04-021-1/+1
| | | | | | | | | | | | | | | | 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
* | gallium/util: rewrite global constructor system for half floats (GCC/MSVC only!)Luca Barbieri2010-04-011-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | python/tests: We're using a rgba8 rendertarget so sample only in the [0, 1] ↵José Fonseca2010-04-011-2/+2
| | | | | | | | range.
* | python/tests: Several cleanups.José Fonseca2010-04-014-117/+117
| |
* | progs/egl: Port OpenVG lion and sp to eglut.Chia-I Wu2010-04-015-591/+59
| |
* | progs/egl: Port ES1 gears to eglut.Chia-I Wu2010-04-016-355/+28
| | | | | | | | | | As gears in the last demo under "screen" subdirectory, this also removes the directory.
* | progs/egl: Port ES1 tri to eglut.Chia-I Wu2010-04-014-427/+54
| | | | | | | | | | This also removes EGL_MESA_screen_surface version of ES1 tri as eglut supports the extension.
* | progs/egl: Replace egltri by xegl_tri.Chia-I Wu2010-04-013-356/+88
| | | | | | | | | | With the switch to eglut, xegl_tri supports both X11 and EGL_MESA_screen_surface. Have it replace egltri.
* | progs/egl: Porg xegl_tri to eglut.Chia-I Wu2010-04-012-254/+30
| |
* | progs/egl: Port eglgears to eglut.Chia-I Wu2010-04-012-219/+59
| |
* | progs/egl: Add eglut.Chia-I Wu2010-04-016-0/+880
| | | | | | | | | | eglut is a simple library with GLUT-like API. It is intended to be used by simple EGL demos.
* | progs/openvg: Move OpenVG demos to a subdirectory of progs/egl.Chia-I Wu2010-04-0133-2/+3
| | | | | | | | | | | | | | That is, move progs/openvg/demos to progs/egl/openvg, progs/openvg/trivial to progs/egl/openvg/trivial.
* | progs/es: Move OpenGL ES demos to subdirectories of progs/egl.Chia-I Wu2010-04-0121-19/+19
| | | | | | | | | | | | | | | | Move progs/es1/xegl -> progs/egl/opengles1, progs/es1/screen -> progs/egl/opengles1/screen, progs/es2/xegl -> progs/egl/opengles2.
* | progs/egl: Move demos a level deeper.Chia-I Wu2010-04-0113-1/+1
| | | | | | | | Move the demos to "opengl" subdirectory.
* | gallium/unit: Invoke util_half_init_tables().José Fonseca2010-04-011-0/+2
| | | | | | | | half float formats now pass the tests.
* | util: Add support for other DXTn RGBA formats.José Fonseca2010-04-011-2/+2
| |
* | util: Get DXT1_RGB format working correctly.José Fonseca2010-04-011-2/+19
| |
* | util: Add test case for PIPE_FORMAT_DXT1_RGB.José Fonseca2010-04-011-5/+37
| |
* | util: Allow to have block format test casesJosé Fonseca2010-04-011-68/+145
| |
* | gallium/unit: Install test in build/xxx/binJosé Fonseca2010-04-011-0/+2
| |
* | util: Make the accessors bidimensional again.José Fonseca2010-03-311-4/+4
| | | | | | | | Otherwise there's no way to unpack blocks with height >1
* | util: Add callback to fetch a single pixel.José Fonseca2010-03-311-0/+34
| |
* | python/tests: Read the number of tests to execute from command line.José Fonseca2010-03-311-1/+4
| |
* | util: Put the format pack/unpack functions in the description table.José Fonseca2010-03-311-20/+25
| |
* | util: Make pack/unpack operate on spans.José Fonseca2010-03-311-4/+4
| |
* | util: Make util_format_xxx_pack_xxx take pointer as arguments.José Fonseca2010-03-311-2/+6
| |
* | python/tests: Run trhough tests randomly.José Fonseca2010-03-312-55/+52
| |
* | python/tests: Rename test name.José Fonseca2010-03-311-0/+0
| | | | | | | | We only test blitting from a surface -- we don't test any sampler state.
* | python/tests: Test all existing gallium formats.José Fonseca2010-03-312-86/+57
| |
* | python/tests: Speed up the tests by reusing the same pipe context.José Fonseca2010-03-312-4/+6
| |