summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* os: Ensure header includes are outside extern "C" {}.José Fonseca2010-02-041-2/+6
|
* util: Reimplement u_time on top of os_time.José Fonseca2010-02-044-261/+59
|
* os: Time abstractions.José Fonseca2010-02-044-0/+222
| | | | Simplified version of u_time.[ch]
* os/os_memory_aligned.h: fix memory allocation alignment for 64 bitsJosé Fonseca2010-02-042-3/+3
| | | | Based on Andreia Gaita <[email protected]>'s patch.
* util: Disable u_time.c implementation for embedded.José Fonseca2010-02-041-0/+4
| | | | This needs to go into OS module.
* util: Add missing include.José Fonseca2010-02-041-0/+1
|
* os: Add missing dummy threading definitions.José Fonseca2010-02-041-0/+19
|
* util: Remove unnecessary header.Vinson Lee2010-02-031-1/+0
|
* util: Cast to match the MSVC intrinsics.José Fonseca2010-02-031-4/+4
| | | | The cast is not optional in C++.
* util: Don't include system headers inside extern "C" { ... }José Fonseca2010-02-032-14/+38
| | | | That breaks when some of the system headers have C++ code.
* Merge branch 'gallium-embedded'José Fonseca2010-02-0350-438/+1753
|\
| * os: Also add the aligned memory prototypes to the embedded section.José Fonseca2010-02-031-0/+6
| |
| * util: Reimplement all utility functions in terms of the new OS abstraction.José Fonseca2010-02-034-409/+26
| |
| * os: New OS abstraction module.José Fonseca2010-02-039-0/+717
| |
| * gallium: Move some compiler portability stuff into p_compiler.hJosé Fonseca2010-02-021-7/+0
| |
| * gallium: Move deprecated pipe/internal/p_winsys_screen.h inside ↵José Fonseca2010-02-023-3/+140
| | | | | | | | util/u_simple_screen.h
| * gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.José Fonseca2010-02-0212-10/+537
| | | | | | | | Into os/os_thread.h and util/u_atomic.h respectively.
| * gallium: Make pipe_atomic a regular int32_t.José Fonseca2010-02-025-0/+7
| |
| * gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca2010-02-0216-10/+316
| |
| * util: Add missing includes.José Fonseca2010-02-013-0/+3
| |
| * draw: Add missing includes.José Fonseca2010-02-011-0/+2
| |
* | tgsi: added debugging code to catch divide by zeroBrian Paul2010-02-031-0/+12
| |
* | tgsi: convert CHECK_INF_OR_NAN to inline functionBrian Paul2010-02-031-8/+17
| | | | | | | | | | And disable with if (0). Inf/NaN can occur normally during program execution. Only enable the check code when needed during debugging.
* | draw: remove old hard-coded shader length limitsBrian Paul2010-02-023-12/+20
| |
* | tgsi: added tgsi_alloc_tokens()Brian Paul2010-02-022-0/+15
| |
* | draw: re-implement free_bit() with ffs()Brian Paul2010-02-022-12/+2
| |
* | draw: comments and var renamingBrian Paul2010-02-021-10/+13
| |
* | tgsi: fix commentBrian Paul2010-02-021-1/+1
| |
* | draw: add const qualifiers, fix return typesBrian Paul2010-02-022-4/+6
| |
* | draw: new, updated commentsBrian Paul2010-02-021-4/+20
| | | | | | | | Try to avoid future confusion between different, but similar functions.
* | tgsi: ureg_DECL_gs_input() accepts shader semantics.Michal Krol2010-02-022-6/+16
|/
* gallium: fix blend state csoRoland Scheidegger2010-01-303-37/+20
| | | | | | | if independent blend state was disabled, only the data from first rt was stored, however the comparison used the full state, hence there never was a match and always a new object was created. Fixes a huge performance drop with llvmpipe due to recompilation.
* tgsi: add properties for fragment coord conventions (v3)Luca Barbieri2010-01-294-2/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in v3: - Documented the new properties - Added comments for property values - Rebased to current master Changes in v2: - Caps are added in a separate, subsequent patch This adds two TGSI fragment program properties that indicate the fragment coord conventions. The properties behave as described in the extension spec for GL_ARB_fragment_coord_conventions, but the default origin in upper left instead of lower left as in OpenGL. The syntax is: PROPERTY FS_COORD_ORIGIN [UPPER_LEFT|LOWER_LEFT] PROPERTY FS_COORD_PIXEL_CENTER [HALF_INTEGER|INTEGER] The names have been chosen for consistency with the GS properties and the OpenGL extension spec. The defaults are of course the previously assumed conventions: UPPER_LEFT and HALF_INTEGER.
* Merge commit 'origin/perrtblend'Roland Scheidegger2010-01-284-8/+11
|\ | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_screen.c src/gallium/include/pipe/p_defines.h
| * gallium: fix cast for size calc of pipe_blend_stateRoland Scheidegger2010-01-251-1/+1
| |
| * gallium: adapt util code to blend changesRoland Scheidegger2010-01-213-3/+3
| |
| * gallium: prepare for per-rendertarget blend enables, writemasks, blend funcsRoland Scheidegger2010-01-201-5/+8
| | | | | | | | | | | | | | | | GL 3.0 (EXT_draw_buffers2) and other APIs allow independent blend enables and write masks per render target, ARB_draw_buffers_blend (and other APIs) also allow independent blend functions. Things like dithering, logic ops however are not extended to be per rendertarget, that might be conceptually possible however it doesn't look like any API wants to expose this.
* | tgsi: Constants declared with ureg_DECL_constant() are one-dimensional.Michal Krol2010-01-281-4/+22
| | | | | | | | | | This is to maintain backward compatibility with drivers that don't support arrays of constant buffers.
* | tgsi: Add ureg_property_gs_output_prim/max_vertices().Michal Krol2010-01-282-3/+45
| |
* | gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.Michal Krol2010-01-2815-24/+24
| |
* | gallium: Enable multiple constant buffers for vertex and geometry shaders.Michal Krol2010-01-2816-68/+106
| |
* | tgsi: Handle two-dimensional constants in text parser.Michal Krol2010-01-283-11/+78
| |
* | gallium: Implement 2D constant buffers for fragment shader in softpipe.Michal Krol2010-01-284-154/+119
| |
* | tgsi: Handle 2-D declarations.Michal Krol2010-01-286-89/+156
| |
* | tgsi: Silence uninitialized variable warning.Vinson Lee2010-01-281-1/+1
| |
* | util: Remove unnecessary header.Vinson Lee2010-01-271-1/+0
| |
* | tgsi: Remove unnecessary header.Vinson Lee2010-01-271-1/+0
| |
* | gallium/draw: Remove unnecessary headers.Vinson Lee2010-01-272-3/+0
| |
* | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-251-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
| * | gallium/util: fix incorrect shift in a4r4g4b4_put_tile_rgba()Brian Paul2010-01-221-1/+1
| | | | | | | | | | | | Fixes fd.o bug 23313.