summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe
AgeCommit message (Collapse)Author
2008-11-06softpipe: debug code (disabled)Brian Paul
2008-11-05gallium: call tgsi_set_exec_mask() and use exec mask in SSE ARL codeBrian Paul
This prevents vertex shaders from referencing invalid memory locations when the shader is operating on less than four vertices or fragments.
2008-10-06make draw's vertex_info struct smaller/quicker to compare with memcmp()Keith Whitwell
2008-09-09softpipe: Code (commented out) to dump BMPs.José Fonseca
2008-09-09softpipe: Silence compiler warning on Windows.Michal Krol
2008-09-08softpipe: Protect pipe_condvar_signal/broadcast calls with a mutex.Michal Krol
2008-09-08softpipe: Set SP_NUM_QUAD_THREADS 1 effectively disabling multithreaded ↵Michal Krol
softpipe. We want to make it env variable, or even better, autodetect as the feature makes softpipe run slower on a single CPU.
2008-09-08softpipe: More improvements for multithreaded softpipe.Michal Krol
Store only input and inout of a quad_header in job que.
2008-09-08softpipe: Split changing fields of quad_header into input, inout and output ↵Michal Krol
parts.
2008-09-08softpipe: Improve multithreaded softpipe.Michal Krol
Use condition vars to communicate between threads instead of stalling.
2008-09-08softpipe: First attempts at multithreaded softpipe.Michal Krol
Configured for 2 cores.
2008-09-05softpipe: convert clear color to surface format if neededBrian Paul
2008-09-04softpipe: use the new util_surface_copy/fill() functionsBrian Paul
2008-09-04softpipe: Add missing include.José Fonseca
2008-09-04softpipe: Use pipe_buffer_* inlines as much as possible.José Fonseca
2008-09-03gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.José Fonseca
We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed.
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-22gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h headerBrian Paul
2008-08-22gallium: stop using ifloor(), FABSF(), etcBrian Paul
2008-08-22gallium: replace LOG2() macro with util_fast_log2() inline funcBrian Paul
2008-08-20gallium: test for and cull prims with inf/nan vertices in sp_setup.c code.Brian Paul
2008-08-19gallium: fix do_flip bug in sp_surface_copy()Brian Paul
Surfaces are always in y=0=top raster order so the caller should invert the Y coordinate if needed; don't do it in sp_surface_copy(). Fixes a glCopyTexture regression.
2008-08-12softpipe: Include missing header.Michal Krol
2008-08-11gallium: debug/print vertex tweakBrian Paul
2008-08-08gallium: Add destroy callback to all *_winsys interfaces.José Fonseca
For consistency and to simplify these objects' destruction.
2008-08-07softpipe: add support for PIPE_FORMAT_X8Z24_UNORM, PIPE_FORMAT_Z24X8_UNORMBrian Paul
2008-08-07gallium: s/pf_sprint_name/pf_name/Brian Paul
2008-08-07gallium: s/printf/debug_printf/Brian Paul
2008-08-07gallium: new/better debug code (disabled)Brian Paul
2008-08-07softpipe: Silence compiler warnings on Windows.Michal Krol
2008-08-06gallium: added PIPE_CAP_TEXTURE_MIRROR_CLAMP, PIPE_CAP_TEXTURE_MIRROR_REPEATBrian Paul
Check for these caps in state tracker and enable corresponding GL extensions if supported.
2008-08-06softpipe: add texture border color codeBrian Paul
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-07-24softpipe: Remove unused variables.José Fonseca
2008-07-19gallium: Finer grained is_format_supported.José Fonseca
2008-07-16softpipe: DXT formats not really supported.José Fonseca
2008-07-15gallium: added some sanity check assertionsBrian Paul
2008-07-13util: Eliminate pipe from the arguments to pipe_get/put_tile_xxx functions.José Fonseca
You don't need a pipe_context * for this, and all other necessary info is already inside pipe_surface.
2008-07-05softpipe: Prevent NULL ptr derreference on takedown.José Fonseca
2008-07-05softpipe: Compute block size for display targets.José Fonseca
2008-07-05softpipe: Implement texture blankets.José Fonseca
2008-07-02gallium: nr_attrs was off by one, updated comments, minor code movementBrian Paul
2008-06-27gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca
The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
2008-06-23gallium: in softpipe_get_tex_surface() use the pitch specified in the ↵Brian Paul
softpipe_texture object. Fixes a pitch/width mix-up.
2008-06-23gallium: change surface_copy()'s do_flip to booleanBrian Paul
2008-06-23gallium: fix bad srcy coord if do_flipBrian Paul
2008-06-20gallium: fix invalid call to draw_set_mapped_constant_buffer()Brian Paul
We were indexing sp_constants[i] outside the loop so i was 2. Replace i with PIPE_SHADER_VERTEX. Also, replace magic '2' with PIPE_SHADER_TYPES in a few places.
2008-06-20gallium: fix some surface usage bugsBrian Paul
When a surface is created with GPU_WRITE that really means "GPU render" and that can involve reads (blending). Set surface usage to PIPE_BUFFER_USAGE_CPU_READ + WRITE. Fixes progs/demos/lodbias demo. Also, mark texture as 'modified' when mapped for writing so that the tile cache can know when to freshen a cached tile. Fixes glTexSubImage2D().
2008-06-10softpipe: Replace GETENV by debug_get_bool_option.José Fonseca
2008-06-10gallium: Deprecate GETENV. Replace by debug_get_bool_option.José Fonseca
debug_get_bool_option will interpret "n", "no", "0", "f", or "false" as FALSE; and everything else as TRUE. The default value (used when the variable is not set) is received as a parameter.