summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-01mesa: make _mesa_copy_string() non-staticBrian Paul
2010-04-01glsl: pass datatype to _mesa_add_varying()Brian Paul
Will be needed later for transform feedback support.
2010-04-01glsl: add more vertex/fragment output info helpersBrian Paul
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-02gallium/util: load s3tc on demandLuca Barbieri
This changes the S3TC function pointers to be initialized to stubs that load the S3TC library and then delegate to the real functions. If the S3TC library fails to load, the function pointers are replaced with a "nop" function. The code is also changed to attempt to load the library only one time.c Note that unlike checking for a flag, this method has no performance cost at all. The use of the "nop" functions also allows to avoid most checks, that are only preserved when the function does non-trivial work.
2010-04-02progs/gallium: add unit test for u_halfLuca Barbieri
2010-04-02gallium/util: pregenerate half float tablesLuca Barbieri
This solution avoids the issue of how to run the initializers and also allows those pages (and the parts of them in processor caches) to be shared between multiple processes. The drawback is slightly higher library size.
2010-04-02st/egl: Add a missing break.Chia-I Wu
The swtich in egl_g3d_st_framebuffer_validate misses a break.
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-01gallium/util: s/inline/INLINE/Vinson Lee
Fixes MSVC build.
2010-04-02nv50: call util_format_initLuca Barbieri
Needed to fetch static vertex attributes.
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-02gallium/util: add one-time initialization helperLuca Barbieri
2010-04-02gallium/util: use #pragma section instead of #pragma data_segLuca Barbieri
They apparently both declare the section, but #pragma data_seg also puts all subsequent definitions in the section, which is undesirable. This should be the correct solution, and is actually used by the reference I cited (but I forgot to do it in my code). Untested, let me know if it doesn't work.
2010-04-02gallium/util: reindent u_half.c and u_half.h with Mesa coding styleLuca Barbieri
Sorry, forgout about that.
2010-04-02Revert "util: Init half-float tables on demand."Luca Barbieri
This reverts commit 950300eb255f0e3507bf2757d16c3b5bc8ff3471.
2010-04-01progs: Fix linking of Xlib demos for non-autoconf buildsDan Nicholson
The Xlib demos were fixed to use $(X11_LIBS) so that configure could detect the proper directory to link the library from, but this broke the non-autoconf builds. Give X11_LIBS a default value to fallback on.
2010-04-01util: Init half-float tables on demand.Corbin Simpson
Gets rid of unnecessary delays on startup and compiler-specific hax.
2010-04-01llvmpipe: Support sampling from PIPE_FORMAT_R32_FLOAT.José Fonseca
2010-04-01util: Declare .CRT$XCU data segment.Michal Krol
2010-04-01scons: Remove `util/u_gctors.cpp'.Michal Krol
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-01llvmpipe: Support sampling from signed and mixed siged formats.José Fonseca
2010-04-01python/tests: We're using a rgba8 rendertarget so sample only in the [0, 1] ↵José Fonseca
range.
2010-04-01st/python: Allow to sample only in the [0,1] range.José Fonseca
2010-04-01python/tests: Several cleanups.José Fonseca
2010-04-01st/python: Always use softpipe as reference driver.José Fonseca
2010-04-01gallium/util: add copyright header to u_half.cLuca Barbieri
2010-04-01Update DEMO_FILES for demos using EGL.Chia-I Wu
Reflect the recent addtion of eglut and reorganization of the EGL demos. This helps remove ~2k lines of duplicated code $ git diff --shortstat -M 57cc1db87b5cacffd3344c49062c8289b7d46e78 18 files changed, 298 insertions(+), 2178 deletions(-)
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-01llvmpipe: More tweaks to the supported texture formats.José Fonseca
2010-04-01gallium/unit: Invoke util_half_init_tables().José Fonseca
half float formats now pass the tests.
2010-04-01util: Declare util_half_init_tables only once.José Fonseca
2010-04-01util: Use u_math.h's union fi instead of redefining it.José Fonseca
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-01llvmpipe: Fix build...José Fonseca
2010-04-01util: Allow to have block format test casesJosé Fonseca