summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2010-02-05os: Don't assert on missing implementation of barrier init/destroy. Just usage.José Fonseca
2010-02-05Merge 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-04gallium: add point_quad_rasterization bit to rasterizer stateRoland Scheidegger
This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
2010-02-04auxiliary: util_stream -> os_streamJosé Fonseca
2010-02-04os: Ensure header includes are outside extern "C" {}.José Fonseca
2010-02-04util: Reimplement u_time on top of os_time.José Fonseca
2010-02-04os: Time abstractions.José Fonseca
Simplified version of u_time.[ch]
2010-02-04os/os_memory_aligned.h: fix memory allocation alignment for 64 bitsJosé Fonseca
Based on Andreia Gaita <shana@jitted.com>'s patch.
2010-02-04util: Disable u_time.c implementation for embedded.José Fonseca
This needs to go into OS module.
2010-02-04util: Add missing include.José Fonseca
2010-02-04os: Add missing dummy threading definitions.José Fonseca
2010-02-03util: Remove unnecessary header.Vinson Lee
2010-02-03util: Cast to match the MSVC intrinsics.José Fonseca
The cast is not optional in C++.
2010-02-03util: Don't include system headers inside extern "C" { ... }José Fonseca
That breaks when some of the system headers have C++ code.
2010-02-03Merge branch 'gallium-embedded'José Fonseca
2010-02-03gallium: clean up point sprite rasterizer stateRoland Scheidegger
Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
2010-02-03tgsi: added debugging code to catch divide by zeroBrian Paul
2010-02-03tgsi: convert CHECK_INF_OR_NAN to inline functionBrian Paul
And disable with if (0). Inf/NaN can occur normally during program execution. Only enable the check code when needed during debugging.
2010-02-03os: Also add the aligned memory prototypes to the embedded section.José Fonseca
2010-02-03util: Reimplement all utility functions in terms of the new OS abstraction.José Fonseca
2010-02-03os: New OS abstraction module.José Fonseca
2010-02-02draw: remove old hard-coded shader length limitsBrian Paul
2010-02-02tgsi: added tgsi_alloc_tokens()Brian Paul
2010-02-02draw: re-implement free_bit() with ffs()Brian Paul
2010-02-02draw: comments and var renamingBrian Paul
2010-02-02tgsi: fix commentBrian Paul
2010-02-02draw: add const qualifiers, fix return typesBrian Paul
2010-02-02draw: new, updated commentsBrian Paul
Try to avoid future confusion between different, but similar functions.
2010-02-02gallium: Move some compiler portability stuff into p_compiler.hJosé Fonseca
2010-02-02gallium: Move deprecated pipe/internal/p_winsys_screen.h inside ↵José Fonseca
util/u_simple_screen.h
2010-02-02gallium: 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-02gallium: Make pipe_atomic a regular int32_t.José Fonseca
2010-02-02gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca
2010-02-02tgsi: ureg_DECL_gs_input() accepts shader semantics.Michal Krol
2010-02-01util: Add missing includes.José Fonseca
2010-02-01draw: Add missing includes.José Fonseca
2010-01-31Merge remote branch 'origin/master' into lp-binningJosé Fonseca
Conflicts: Makefile src/gallium/auxiliary/util/u_surface.c src/gallium/drivers/llvmpipe/lp_flush.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/gallium/drivers/llvmpipe/lp_state_surface.c src/gallium/drivers/llvmpipe/lp_tex_cache.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/llvmpipe/lp_tile_cache.c src/mesa/state_tracker/st_cb_condrender.c
2010-01-30gallium: fix blend state csoRoland Scheidegger
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.
2010-01-29tgsi: add properties for fragment coord conventions (v3)Luca Barbieri
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.
2010-01-28Merge commit 'origin/perrtblend'Roland Scheidegger
Conflicts: src/gallium/drivers/softpipe/sp_screen.c src/gallium/include/pipe/p_defines.h
2010-01-28tgsi: Constants declared with ureg_DECL_constant() are one-dimensional.Michal Krol
This is to maintain backward compatibility with drivers that don't support arrays of constant buffers.
2010-01-28tgsi: Add ureg_property_gs_output_prim/max_vertices().Michal Krol
2010-01-28gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.Michal Krol
2010-01-28gallium: Enable multiple constant buffers for vertex and geometry shaders.Michal Krol
2010-01-28tgsi: Handle two-dimensional constants in text parser.Michal Krol
2010-01-28gallium: Implement 2D constant buffers for fragment shader in softpipe.Michal Krol
2010-01-28tgsi: Handle 2-D declarations.Michal Krol
2010-01-28tgsi: Silence uninitialized variable warning.Vinson Lee
2010-01-27util: Remove unnecessary header.Vinson Lee
2010-01-27tgsi: Remove unnecessary header.Vinson Lee