summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe
AgeCommit message (Collapse)Author
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.
2008-06-02gallium: Replace XSTDCALL by PIPE_CDECL.José Fonseca
2008-05-30gallium: fix some PIPE_FORMAT_Z24S8_UNORM bugs in softpipe driverBrian Paul
2008-05-29draw: make sure constant buffer data is aligned before passing to aos.cKeith Whitwell
2008-05-29draw: draw_range_elements trialKeith Whitwell
2008-05-28Merge branch 'gallium-vertex-linear' into gallium-tex-surfacesKeith Whitwell
2008-05-27softpipe: enable vbuf by defaultKeith Whitwell
The non-vbuf option is going away...
2008-05-19Merge commit 'origin/gallium-0.1' into gallium-vertex-linearZack Rusin
2008-05-19Merge branch 'gallium-0.1' into gallium-tex-surfacesBrian Paul
2008-05-19if x86_get_func() returns NULL, handle it properly instead of abortingBrian Paul
2008-05-18Merge branch 'gallium-0.1' into gallium-tex-surfacesBrian Paul
2008-05-17gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state()Brian Paul
The caller can then free the token array immediately.
2008-05-12softpipe: more work to get non-reduced primitives working in vbufKeith Whitwell
2008-05-12softpipe: make vbuf handle all primitive typesKeith Whitwell
2008-05-12softpipe: add failure paths for context creationKeith Whitwell
2008-05-10gallium: optimize the flush_spans() functionBrian
2008-05-10gallium: remove unused codeBrian
2008-05-09Merge branch 'gallium-0.1' into gallium-tex-surfacesKeith Whitwell
2008-05-08softpipe: don't calc det if NO_RAST setKeith Whitwell
2008-05-07gallium: Propagate tex_usage flags down to winsys.José Fonseca
2008-05-06Merge commit 'origin/gallium-0.1' into gallium-tex-surfacesKeith Whitwell
Conflicts: src/mesa/state_tracker/st_atom_sampler.c src/mesa/state_tracker/st_cb_texture.c
2008-05-02gallium: new debug code (disabled)Brian Paul
2008-05-02gallium: Add texture usage flags, special-case allocation of display targetsKeith Whitwell
For many envirionments it's necessary to allocate display targets in a window-system friendly manner. Add facilities so that a driver can tell if a texture is likely to be used to generate a display surface and if use special allocation paths if necessary. Hook up softpipe to call into the winsys->surface_alloc_storage() routine in this case, though we probably want to change that interface slightly also.
2008-05-02gallium: fix typos, comments, whitespaceBrian Paul
2008-05-02Merge branch 'gallium-0.1' into gallium-tex-surfacesKeith Whitwell
2008-05-02re-add pipe_surface map/unmap inlinesKeith Whitwell
2008-05-01gallium: remove the unused softpipe_winsys codeBrian Paul
The struct is still there though until all winsys layers are updated
2008-05-01softpipe: fix warningKeith Whitwell
2008-05-01softpipe: missing fileKeith Whitwell
2008-05-01softpipe: use CPU flags for mappingKeith Whitwell
But when creating surfaces, adjust incoming flags from GPU->CPU usage.
2008-05-01gallium: tex surface checkpointKeith Whitwell