Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | os: Ensure header includes are outside extern "C" {}. | José Fonseca | 2010-02-04 | 1 | -2/+6 |
| | |||||
* | util: Reimplement u_time on top of os_time. | José Fonseca | 2010-02-04 | 4 | -261/+59 |
| | |||||
* | os: Time abstractions. | José Fonseca | 2010-02-04 | 4 | -0/+222 |
| | | | | Simplified version of u_time.[ch] | ||||
* | os/os_memory_aligned.h: fix memory allocation alignment for 64 bits | José Fonseca | 2010-02-04 | 2 | -3/+3 |
| | | | | Based on Andreia Gaita <[email protected]>'s patch. | ||||
* | util: Disable u_time.c implementation for embedded. | José Fonseca | 2010-02-04 | 1 | -0/+4 |
| | | | | This needs to go into OS module. | ||||
* | util: Add missing include. | José Fonseca | 2010-02-04 | 1 | -0/+1 |
| | |||||
* | os: Add missing dummy threading definitions. | José Fonseca | 2010-02-04 | 1 | -0/+19 |
| | |||||
* | util: Remove unnecessary header. | Vinson Lee | 2010-02-03 | 1 | -1/+0 |
| | |||||
* | util: Cast to match the MSVC intrinsics. | José Fonseca | 2010-02-03 | 1 | -4/+4 |
| | | | | The cast is not optional in C++. | ||||
* | util: Don't include system headers inside extern "C" { ... } | José Fonseca | 2010-02-03 | 2 | -14/+38 |
| | | | | That breaks when some of the system headers have C++ code. | ||||
* | Merge branch 'gallium-embedded' | José Fonseca | 2010-02-03 | 50 | -438/+1753 |
|\ | |||||
| * | os: Also add the aligned memory prototypes to the embedded section. | José Fonseca | 2010-02-03 | 1 | -0/+6 |
| | | |||||
| * | util: Reimplement all utility functions in terms of the new OS abstraction. | José Fonseca | 2010-02-03 | 4 | -409/+26 |
| | | |||||
| * | os: New OS abstraction module. | José Fonseca | 2010-02-03 | 9 | -0/+717 |
| | | |||||
| * | gallium: Move some compiler portability stuff into p_compiler.h | José Fonseca | 2010-02-02 | 1 | -7/+0 |
| | | |||||
| * | gallium: Move deprecated pipe/internal/p_winsys_screen.h inside ↵ | José Fonseca | 2010-02-02 | 3 | -3/+140 |
| | | | | | | | | util/u_simple_screen.h | ||||
| * | gallium: Move p_thread.h and p_atomic.h out of gallium interfaces. | José Fonseca | 2010-02-02 | 12 | -10/+537 |
| | | | | | | | | Into os/os_thread.h and util/u_atomic.h respectively. | ||||
| * | gallium: Make pipe_atomic a regular int32_t. | José Fonseca | 2010-02-02 | 5 | -0/+7 |
| | | |||||
| * | gallium: pipe/p_inlines.h -> util/u_inlines.h | José Fonseca | 2010-02-02 | 16 | -10/+316 |
| | | |||||
| * | util: Add missing includes. | José Fonseca | 2010-02-01 | 3 | -0/+3 |
| | | |||||
| * | draw: Add missing includes. | José Fonseca | 2010-02-01 | 1 | -0/+2 |
| | | |||||
* | | tgsi: added debugging code to catch divide by zero | Brian Paul | 2010-02-03 | 1 | -0/+12 |
| | | |||||
* | | tgsi: convert CHECK_INF_OR_NAN to inline function | Brian Paul | 2010-02-03 | 1 | -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 limits | Brian Paul | 2010-02-02 | 3 | -12/+20 |
| | | |||||
* | | tgsi: added tgsi_alloc_tokens() | Brian Paul | 2010-02-02 | 2 | -0/+15 |
| | | |||||
* | | draw: re-implement free_bit() with ffs() | Brian Paul | 2010-02-02 | 2 | -12/+2 |
| | | |||||
* | | draw: comments and var renaming | Brian Paul | 2010-02-02 | 1 | -10/+13 |
| | | |||||
* | | tgsi: fix comment | Brian Paul | 2010-02-02 | 1 | -1/+1 |
| | | |||||
* | | draw: add const qualifiers, fix return types | Brian Paul | 2010-02-02 | 2 | -4/+6 |
| | | |||||
* | | draw: new, updated comments | Brian Paul | 2010-02-02 | 1 | -4/+20 |
| | | | | | | | | Try to avoid future confusion between different, but similar functions. | ||||
* | | tgsi: ureg_DECL_gs_input() accepts shader semantics. | Michal Krol | 2010-02-02 | 2 | -6/+16 |
|/ | |||||
* | gallium: fix blend state cso | Roland Scheidegger | 2010-01-30 | 3 | -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 Barbieri | 2010-01-29 | 4 | -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 Scheidegger | 2010-01-28 | 4 | -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_state | Roland Scheidegger | 2010-01-25 | 1 | -1/+1 |
| | | |||||
| * | gallium: adapt util code to blend changes | Roland Scheidegger | 2010-01-21 | 3 | -3/+3 |
| | | |||||
| * | gallium: prepare for per-rendertarget blend enables, writemasks, blend funcs | Roland Scheidegger | 2010-01-20 | 1 | -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 Krol | 2010-01-28 | 1 | -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 Krol | 2010-01-28 | 2 | -3/+45 |
| | | |||||
* | | gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS. | Michal Krol | 2010-01-28 | 15 | -24/+24 |
| | | |||||
* | | gallium: Enable multiple constant buffers for vertex and geometry shaders. | Michal Krol | 2010-01-28 | 16 | -68/+106 |
| | | |||||
* | | tgsi: Handle two-dimensional constants in text parser. | Michal Krol | 2010-01-28 | 3 | -11/+78 |
| | | |||||
* | | gallium: Implement 2D constant buffers for fragment shader in softpipe. | Michal Krol | 2010-01-28 | 4 | -154/+119 |
| | | |||||
* | | tgsi: Handle 2-D declarations. | Michal Krol | 2010-01-28 | 6 | -89/+156 |
| | | |||||
* | | tgsi: Silence uninitialized variable warning. | Vinson Lee | 2010-01-28 | 1 | -1/+1 |
| | | |||||
* | | util: Remove unnecessary header. | Vinson Lee | 2010-01-27 | 1 | -1/+0 |
| | | |||||
* | | tgsi: Remove unnecessary header. | Vinson Lee | 2010-01-27 | 1 | -1/+0 |
| | | |||||
* | | gallium/draw: Remove unnecessary headers. | Vinson Lee | 2010-01-27 | 2 | -3/+0 |
| | | |||||
* | | Merge branch 'mesa_7_7_branch' | Brian Paul | 2010-01-25 | 1 | -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 Paul | 2010-01-22 | 1 | -1/+1 |
| | | | | | | | | | | | | Fixes fd.o bug 23313. |