summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-01GLX/DRI2: pass GLX drawable ID to dri2InvalidateBuffersJesse Barnes
The IDs will be the same in the case where an X window is used directly as a GLX drawable, but will fail if a new GLX drawable is created explicitly, as with glxgears_fbconfig. Fixes fdo bug #27190.
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-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-01util: Init half-float tables on demand.Corbin Simpson
Gets rid of unnecessary delays on startup and compiler-specific hax.
2010-04-01apple: Use mesa gl.h rather than generating one.Jeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-04-01apple: Integrate our libGL into the existing build system betterJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01apple: Change ifdefs for DRI to be DRI && !APPLEJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01apple: Remove duplicate headers that already exist in mesa.Jeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-04-01apple: Initial import of libGL for OSX from AppleSGLX svn repository.Jeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
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-01st/python: Allow to sample only in the [0,1] range.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-01llvmpipe: More tweaks to the supported texture formats.José Fonseca
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
2010-04-01util: Generate correct format conversions for half floats.Michal Krol
2010-04-01util: Use u_half to perform half <--> float conversions.Michal Krol
2010-04-01gallium: Integrate util_half with scons.Michal Krol
2010-04-01gallium/util: add fast half float conversion functionsLuca Barbieri
This adds a fast half float conversion facility to Gallium. Mesa already contains such a facility, but using a much worse algorithm. This one is an implementation of www.fox-toolkit.org/ftp/fasthalffloatconversion.pdf and uses a branch-less algorithm with some lookup tables small enough to fit in the L1 cache. Ideally, Mesa should start using these functions too, but I'm not sure how to arrange that with the current build system. A new "u_gctors.cpp" is added that defines a global C++ constructor allowing to initialize to conversion lookup tables at library init.
2010-04-01util: Add half float test cases.José Fonseca
2010-04-01llvmpipe: Fix (un)swizzling, broken due to use of VOID channels.José Fonseca
2010-04-01glx: Fix compilation errors on non-GLX_DIRECT_RENDERING builds.Vinson Lee
driContext field for __GLXcontextRec struct is only defined if GLX_DIRECT_RENDERING is set.
2010-03-31mesa: Remove unnecessary header.Vinson Lee
2010-03-31r300g: Remove unnecessary header.Vinson Lee
2010-04-01util/format: fix big endian compilation by not trying to byteswap single bytesLuca Barbieri
Conceivably, we could also have a dummy util_bswap8, but it seems better to not emit it in the first place.
2010-03-31gallivm: convert floats to doublesZack Rusin
printf can't handle floats, convert them to doubles so that we can actually print floats.
2010-04-01r300g: add RGBA16F colorbuffer supportMarek Olšák
Disabled by default due to unresolved IP issues.
2010-04-01r300g: add RGTC texture supportMarek Olšák
The CS checker already knows about this.
2010-04-01r300g: format handling cleanupMarek Olšák
2010-03-31softpipe: Use S3TC when avaiilable,José Fonseca
2010-03-31util: Hook into libtxc_dxtn.so (WIP).José Fonseca
2010-03-31llvmpipe: Don't call unused generate_clamp().José Fonseca
2010-03-31libgl-xlib: Fix missing X11 symbols.José 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: First stab at half-float conversion.Michal Krol