summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_screen_buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* svga: Temporarily create a sw vertex buf when failed to create a hw buf.José Fonseca2010-02-221-7/+20
| | | | | Many apps don't check the return of map buffer so it is better not to fail.
* svga: Remove unused buffer download code.José Fonseca2010-02-221-40/+0
| | | | Unnecessary now that we never destroy buffer storage.
* svga: Prevent buffer overflow in buffer ranges.José Fonseca2010-02-221-8/+54
| | | | | | | Do this by extending the nearest range to cover the new range. This fixes an access fault in Call of Duty which was doing many disjoint glBufferSubData calls.
* gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.José Fonseca2010-02-021-1/+1
| | | | Into os/os_thread.h and util/u_atomic.h respectively.
* gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca2010-02-021-1/+1
|
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-221-90/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
| * svga: Remove unused variable.Vinson Lee2010-01-211-1/+0
| |
| * svga: Remove duplicate code.José Fonseca2010-01-211-4/+2
| |
| * svga: Remove unused code.José Fonseca2010-01-211-22/+4
| |
| * svga: Don't swap buffers to system memory -- winsys' responsibility.José Fonseca2010-01-211-60/+0
| |
| * svga: Follow buffer usage semantics properly.José Fonseca2010-01-211-4/+6
| | | | | | | | | | | | | | | | | | | | It's necessary to download buffers from the host always, except if the buffer is undefined, because: - just PIPE_BUFFER_USAGE_CPU_WRITE doesn't guarantee all data is written -- old contents may still pierce through - PIPE_BUFFER_USAGE_DISCARD refers to a range, not the whole buffer, so unless we track which parts have been modified and not we still need to download the data.
| * svga: Ensure buffer size/alignment is not zero.José Fonseca2010-01-181-0/+3
| |
* | svga: fix another pipe_reference strict aliasing violationRoland Scheidegger2009-12-041-1/+2
|/
* svga: add DEBUG_CACHE optionKeith Whitwell2009-11-271-1/+1
|
* svga: try harder to make the cachable flag workKeith Whitwell2009-11-251-0/+2
| | | | It doesn't though.
* svga: cache textures as well as buffersKeith Whitwell2009-11-241-5/+7
|
* svga: Add svga driverJakob Bornecrantz2009-11-171-0/+820