summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe
AgeCommit message (Collapse)Author
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
2008-04-30gallium: replace old PIPE_FORMAT_U_S8 with PIPE_FORMAT_S8_UNORMBrian Paul
2008-04-30plug a memleak, destroy setup contextZack Rusin
2008-04-29gallium: test for new PIPE_ARCH_X86Brian Paul
2008-04-28gallium: Generate SSE code to swizzle and unswizzle vs inputs and outputs.Michal Krol
Change SSE_SWIZZLES #define to 0 to disable it.
2008-04-24gallium: plug in softpipe_set_edgeflags() functionBrian Paul
2008-04-23gallium: move logicop test outside of loopBrian Paul
2008-04-23gallium: fix broken PIPE_BLENDFACTOR_SRC_ALPHA_SATURATEBrian Paul
2008-04-23gallium: more vertex debug codeBrian Paul
2008-04-22gallium: move the vertex print/debug codeBrian Paul
2008-04-22Revert "softpipe: squash warning"Keith Whitwell
This reverts commit 1f0f029ba6f22ef4ada01fcdc153da91571a7963. Which broke the debug build.
2008-04-22softpipe: squash warningKeith Whitwell
2008-04-22softpipe: do something sensible on an error path, squash warningKeith Whitwell