summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gallium/util: add one-time initialization helperLuca Barbieri2010-04-021-0/+15
|
* gallium/util: use #pragma section instead of #pragma data_segLuca Barbieri2010-04-021-1/+1
| | | | | | | | | | | 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.
* gallium/util: reindent u_half.c and u_half.h with Mesa coding styleLuca Barbieri2010-04-022-107/+112
| | | | Sorry, forgout about that.
* Revert "util: Init half-float tables on demand."Luca Barbieri2010-04-023-14/+57
| | | | This reverts commit 950300eb255f0e3507bf2757d16c3b5bc8ff3471.
* progs: Fix linking of Xlib demos for non-autoconf buildsDan Nicholson2010-04-011-1/+1
| | | | | | 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.
* util: Init half-float tables on demand.Corbin Simpson2010-04-013-57/+14
| | | | Gets rid of unnecessary delays on startup and compiler-specific hax.
* llvmpipe: Support sampling from PIPE_FORMAT_R32_FLOAT.José Fonseca2010-04-012-4/+45
|
* util: Declare .CRT$XCU data segment.Michal Krol2010-04-011-0/+1
|
* scons: Remove `util/u_gctors.cpp'.Michal Krol2010-04-011-1/+0
|
* gallium/util: rewrite global constructor system for half floats (GCC/MSVC only!)Luca Barbieri2010-04-016-27/+55
| | | | | | | | | | | | | | | | 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.
* llvmpipe: Support sampling from signed and mixed siged formats.José Fonseca2010-04-011-9/+64
|
* python/tests: We're using a rgba8 rendertarget so sample only in the [0, 1] ↵José Fonseca2010-04-011-2/+2
| | | | range.
* st/python: Allow to sample only in the [0,1] range.José Fonseca2010-04-013-23/+46
|
* python/tests: Several cleanups.José Fonseca2010-04-014-117/+117
|
* st/python: Always use softpipe as reference driver.José Fonseca2010-04-014-11/+17
|
* gallium/util: add copyright header to u_half.cLuca Barbieri2010-04-011-2/+37
|
* Update DEMO_FILES for demos using EGL.Chia-I Wu2010-04-011-8/+12
| | | | | | | | 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(-)
* 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-0122-20/+20
| | | | | | | | 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-0116-4/+4
| | | | Move the demos to "opengl" subdirectory.
* llvmpipe: More tweaks to the supported texture formats.José Fonseca2010-04-011-10/+6
|
* gallium/unit: Invoke util_half_init_tables().José Fonseca2010-04-011-0/+2
| | | | half float formats now pass the tests.
* util: Declare util_half_init_tables only once.José Fonseca2010-04-013-4/+15
|
* util: Use u_math.h's union fi instead of redefining it.José Fonseca2010-04-011-4/+5
|
* util: Add support for other DXTn RGBA formats.José Fonseca2010-04-013-24/+300
|
* util: Get DXT1_RGB format working correctly.José Fonseca2010-04-012-3/+73
|
* util: Add test case for PIPE_FORMAT_DXT1_RGB.José Fonseca2010-04-012-5/+69
|
* llvmpipe: Fix build...José Fonseca2010-04-011-0/+23
|
* util: Allow to have block format test casesJosé Fonseca2010-04-013-517/+603
|
* util: Generate correct format conversions for half floats.Michal Krol2010-04-011-39/+59
|
* util: Use u_half to perform half <--> float conversions.Michal Krol2010-04-011-47/+6
|
* gallium: Integrate util_half with scons.Michal Krol2010-04-012-0/+3
|
* gallium/util: add fast half float conversion functionsLuca Barbieri2010-04-014-0/+199
| | | | | | | | | | | | | | | | | 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.
* gallium/unit: Install test in build/xxx/binJosé Fonseca2010-04-011-0/+2
|
* util: Add half float test cases.José Fonseca2010-04-011-0/+35
|
* llvmpipe: Fix (un)swizzling, broken due to use of VOID channels.José Fonseca2010-04-011-2/+10
|
* mesa: Remove unnecessary header.Vinson Lee2010-03-311-1/+0
|
* r300g: Remove unnecessary header.Vinson Lee2010-03-311-1/+0
|
* util/format: fix big endian compilation by not trying to byteswap single bytesLuca Barbieri2010-04-011-7/+9
| | | | | Conceivably, we could also have a dummy util_bswap8, but it seems better to not emit it in the first place.
* gallivm: convert floats to doublesZack Rusin2010-03-311-2/+9
| | | | | printf can't handle floats, convert them to doubles so that we can actually print floats.
* r300g: add RGBA16F colorbuffer supportMarek Olšák2010-04-011-5/+8
| | | | Disabled by default due to unresolved IP issues.
* r300g: add RGTC texture supportMarek Olšák2010-04-013-1/+56
| | | | The CS checker already knows about this.
* r300g: format handling cleanupMarek Olšák2010-04-012-24/+16
|