Chia-I Wu
7f231cab2b
progs/es: Move OpenGL ES demos to subdirectories of progs/egl.
Move
progs/es1/xegl -> progs/egl/opengles1,
progs/es1/screen -> progs/egl/opengles1/screen,
progs/es2/xegl -> progs/egl/opengles2.
16 years ago
Chia-I Wu
c727ef0108
progs/egl: Move demos a level deeper.
Move the demos to "opengl" subdirectory.
16 years ago
José Fonseca
2da7ef077a
llvmpipe: More tweaks to the supported texture formats.
16 years ago
José Fonseca
6b1a8e0f87
gallium/unit: Invoke util_half_init_tables().
half float formats now pass the tests.
16 years ago
José Fonseca
89034b8ae7
util: Declare util_half_init_tables only once.
16 years ago
José Fonseca
982d36667d
util: Use u_math.h's union fi instead of redefining it.
16 years ago
José Fonseca
08eb07bc83
util: Add support for other DXTn RGBA formats.
16 years ago
José Fonseca
8548efbe1d
util: Get DXT1_RGB format working correctly.
16 years ago
José Fonseca
ca6aacf842
util: Add test case for PIPE_FORMAT_DXT1_RGB.
16 years ago
José Fonseca
9899ebd2fc
llvmpipe: Fix build...
16 years ago
José Fonseca
d099554492
util: Allow to have block format test cases
16 years ago
Michal Krol
943408533d
util: Generate correct format conversions for half floats.
16 years ago
Michal Krol
b7bca4b28c
util: Use u_half to perform half <--> float conversions.
16 years ago
Michal Krol
5a359df219
gallium: Integrate util_half with scons.
16 years ago
Luca Barbieri
3ff175d6de
gallium/util: add fast half float conversion functions
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.
16 years ago
José Fonseca
110e039d0d
gallium/unit: Install test in build/xxx/bin
16 years ago
José Fonseca
f706f12bbf
util: Add half float test cases.
16 years ago
José Fonseca
898ddd6b00
llvmpipe: Fix (un)swizzling, broken due to use of VOID channels.
16 years ago
Vinson Lee
bef912abd3
mesa: Remove unnecessary header.
16 years ago
Vinson Lee
e6be593fbf
r300g: Remove unnecessary header.
16 years ago
Luca Barbieri
7326851757
util/format: fix big endian compilation by not trying to byteswap single bytes
Conceivably, we could also have a dummy util_bswap8, but it seems better
to not emit it in the first place.
16 years ago
Zack Rusin
2fb655d1db
gallivm: convert floats to doubles
printf can't handle floats, convert them to doubles so that we can
actually print floats.
16 years ago
Marek Olšák
2ab7375572
r300g: add RGBA16F colorbuffer support
Disabled by default due to unresolved IP issues.
16 years ago
Marek Olšák
3252651fb2
r300g: add RGTC texture support
The CS checker already knows about this.
16 years ago
Marek Olšák
39e116e3a0
r300g: format handling cleanup
16 years ago
José Fonseca
f45d43a17f
softpipe: Use S3TC when avaiilable,
16 years ago
José Fonseca
9388ce4191
util: Hook into libtxc_dxtn.so (WIP).
16 years ago
José Fonseca
b5d073b39d
llvmpipe: Don't call unused generate_clamp().
16 years ago
José Fonseca
36e92a0494
libgl-xlib: Fix missing X11 symbols.
16 years ago
José Fonseca
018aae950d
util: Make the accessors bidimensional again.
Otherwise there's no way to unpack blocks with height >1
16 years ago
Michal Krol
b8012643e1
util: First stab at half-float conversion.
16 years ago
José Fonseca
329814c6ee
util: Describe PIPE_FORMAT_NONE as PIPE_FORMAT_R8_USCALED.
Avoids the need to special case PIPE_FORMAT_NONE so often.
Conflicts:
src/gallium/auxiliary/util/u_format_table.py
16 years ago
José Fonseca
9fcf2b87b3
util: Silence pointer to integer size mismatch errors.
16 years ago
José Fonseca
69895725cf
util: Add callback to fetch a single pixel.
16 years ago
José Fonseca
3200e70858
python/tests: Read the number of tests to execute from command line.
16 years ago
José Fonseca
96548d80e5
mesa: Use a consistent name of the external s3tc library for all windows compilers.
16 years ago
José Fonseca
93eee0537f
scons: Force to consider the util/u_format_pack.py for util/u_format_table.c.
16 years ago
José Fonseca
cf5cd836de
scons: Don't always include/links X11 headers/libs.
Move it into a separate tool.
TODO: Needs to be "tooled" in each SConscript that uses it.
16 years ago
José Fonseca
6047c89a23
scons: Don't always link expat.
Only needed for DRI. Should be linked in DRI specific subdirectories.
16 years ago
José Fonseca
e1c1911435
llvmpipe: Disable threads by default on embedded.
16 years ago
Kurt Daverman
730cd1baaa
os: Temporarily use posix thread for embedded too.
16 years ago
José Fonseca
711f6428bc
scons: Allow any toolchain to be specified in the command line.
16 years ago
José Fonseca
f1f6370eb4
util: Remove the hand written u_tile.c functions for the ones that are code generated correctly.
Not that the code generated are any better, but to quickly detect any regression
in the code generated ones from now on.
16 years ago
José Fonseca
c5d4a44f44
util: Use u_format_pack.py's code instead of u_format_access.py.
16 years ago
José Fonseca
8e833c7988
llvmpipe: Don't rely on u_format_access.py
16 years ago
Roland Scheidegger
d97f6963ae
Merge branch 'gallium-new-formats'
Conflicts:
src/gallium/auxiliary/util/u_format.csv
src/gallium/auxiliary/util/u_format_access.py
src/gallium/auxiliary/util/u_format_pack.py
16 years ago
José Fonseca
96bf4aff5b
util: Put the format pack/unpack functions in the description table.
16 years ago
José Fonseca
e245ca74e1
util: Make pack/unpack operate on spans.
16 years ago
Ben Skeggs
b46750d601
st/mesa: use BITFIELD64_BIT to access shader OutputsWritten in more places
16 years ago
José Fonseca
325d55303d
util: Make util_format_xxx_pack_xxx take pointer as arguments.
16 years ago