Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-02-26 | util: Define SRGB's channels as normalized. | José Fonseca | |
A better approximation than uscaled... | |||
2010-02-26 | util: Code generate functions to pack and unpack a single pixel. | José Fonseca | |
Should work correctly for all pixel formats except SRGB formats. Generated code made much simpler by defining the pixel format as a C structure. For example this is the generated structure for PIPE_FORMAT_B6UG5SR5S_NORM: union util_format_b6ug5sr5s_norm { uint16_t value; struct { int r:5; int g:5; unsigned b:6; } chan; }; Not used everywhere yet because it seems compiled code is slower than bitshift arithmetic by some misterious reason. So we should generate bitshift arithmetic at least for the simple UNORM pixel formats. | |||
2010-02-26 | util: Factor some code into u_format_parse.py | José Fonseca | |
2010-02-26 | util: Add util_bswap16. | José Fonseca | |
2010-02-26 | util: Use python names consistent with u_format.h | José Fonseca | |
2010-02-26 | util: Add is_pot() method to formats. | José Fonseca | |
2010-02-25 | util: remove a trailing semicolon in format table code | Brian Paul | |
2010-02-25 | util: Remove import of unused sys module. | Vinson Lee | |
2010-02-25 | util: Assert that pointer is not null before dereferencing. | Vinson Lee | |
2010-02-24 | util: Kill array vs arith layouts. Revamp UTIL_FORMAT_LAYOUT_xxx. | José Fonseca | |
Too confusing. I now can get the same information through other means. | |||
2010-02-24 | util: Refactor some code. | José Fonseca | |
2010-02-24 | util: Cope with the fact that formats in u_format.csv are not ordered. | José Fonseca | |
2010-02-24 | util: Factor out the code to shorten a format name. | José Fonseca | |
2010-02-24 | util: Handle correctly 24bit formats. | José Fonseca | |
2010-02-24 | util: Minor tweaks to ambigous/unused format descriptions. | José Fonseca | |
2010-02-24 | util: Fix swizzles for SRGB formats. | José Fonseca | |
Based on Marek Olšák's fix 8-bits-per-channel formats swizzles, with the exception that the notation for several formats (the vector formats) is actually reversed so they should be left alone. | |||
2010-02-24 | util: Organize formats in groups. Add comments. | José Fonseca | |
2010-02-24 | util: Allow '#' comments in u_format.csv. | José Fonseca | |
2010-02-24 | util: Kill unused UTIL_FORMAT_LAYOUT_SCALAR. | José Fonseca | |
2010-02-24 | util: Store more derived data in the the format description. | José Fonseca | |
2010-02-19 | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | |
2010-02-17 | util: Fix typo of debug_dump_float_rgba_bmp. | Vinson Lee | |
2010-02-14 | util: Avoid dumping masked state. Other minor improvements. | José Fonseca | |
2010-02-14 | util: Helper functions to dump all state objects. | José Fonseca | |
2010-02-14 | util: Update for os_stream changes. | José Fonseca | |
2010-02-14 | util: Rename u_debug_dump.[ch] -> u_dump.[ch]. | José Fonseca | |
I have more plans for this than mere debugging -- it will be an helper to provide human readible representations of all gallium state for the python state tracker. | |||
2010-02-14 | util: Use util_format_name(). | José Fonseca | |
2010-02-14 | util: Add pf_name() replacement: util_format_name(). | José Fonseca | |
2010-02-12 | util: Properly init memory for blitter CSOs. | Corbin Simpson | |
Fixes misrender on r300g. | |||
2010-02-12 | Merge branch 'gallium-dynamicstencilref' | Roland Scheidegger | |
2010-02-12 | Revert "util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats." | Michal Krol | |
This reverts commit aa0b671422880b99dc178d43d1e4e1a3f766bf7f. | |||
2010-02-12 | util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats. | Michal Krol | |
Fill in ones for missing components. | |||
2010-02-11 | gallium: make u_blitter code save/restore stencil ref values | Roland Scheidegger | |
2010-02-10 | gallium: use os_time.h in u_timed_winsys.c | Brian Paul | |
2010-02-09 | gallium: don't put stencil ref value in pipe_depth_stencil_alpha_state | Roland Scheidegger | |
This will make driver's life a bit harder, however it makes sense that stencil reference value is not part of the pipe_depth_stencil_alpha_state, because it often (there are some algorithms which require this) changes more frequently than the rest of the dsa state. This is also encouraged by some graphic APIs. Treat it similar to pipe_blend_color. | |||
2010-02-06 | Gallium: Add Solaris atomic function definitions to u_atomic.h | Alan Coopersmith | |
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> | |||
2010-02-05 | Merge remote branch 'origin/lp-binning' | José Fonseca | |
Conflicts: src/gallium/auxiliary/util/u_dl.c src/gallium/auxiliary/util/u_time.h src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_surface.c src/gallium/drivers/llvmpipe/lp_tex_cache.c src/gallium/drivers/llvmpipe/lp_tile_cache.c | |||
2010-02-04 | auxiliary: util_stream -> os_stream | José Fonseca | |
2010-02-04 | util: Reimplement u_time on top of os_time. | José Fonseca | |
2010-02-04 | util: Disable u_time.c implementation for embedded. | José Fonseca | |
This needs to go into OS module. | |||
2010-02-04 | util: Add missing include. | José Fonseca | |
2010-02-03 | util: Remove unnecessary header. | Vinson Lee | |
2010-02-03 | util: Cast to match the MSVC intrinsics. | José Fonseca | |
The cast is not optional in C++. | |||
2010-02-03 | util: Don't include system headers inside extern "C" { ... } | José Fonseca | |
That breaks when some of the system headers have C++ code. | |||
2010-02-03 | util: Reimplement all utility functions in terms of the new OS abstraction. | José Fonseca | |
2010-02-02 | gallium: Move some compiler portability stuff into p_compiler.h | José Fonseca | |
2010-02-02 | gallium: Move deprecated pipe/internal/p_winsys_screen.h inside ↵ | José Fonseca | |
util/u_simple_screen.h | |||
2010-02-02 | gallium: Move p_thread.h and p_atomic.h out of gallium interfaces. | José Fonseca | |
Into os/os_thread.h and util/u_atomic.h respectively. | |||
2010-02-02 | gallium: Make pipe_atomic a regular int32_t. | José Fonseca | |
2010-02-02 | gallium: pipe/p_inlines.h -> util/u_inlines.h | José Fonseca | |