summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* swrast: When reading from a 0-bits r,g,b channel, return 0 not 1.Eric Anholt2010-06-101-3/+11
| | | | | | | It looks like we were reading a fractional value, multiplying by an enormous negative value, then stuffing that value into a bitfield assuming it was already clamped. This becomes relevant for GL_ALPHA or R/RG FBOs.
* intel: Use the blitter to upload TexSubImage data to busy textures.Eric Anholt2010-06-091-10/+67
| | | | | | | | | | | | | | This avoids many pipeline stalls in cairo-gl. [ # ] backend test min(s) median(s) stddev. count Before: [ 0] gl firefox-talos-gfx 36.799 36.851 2.34% 3/3 [ 0] gl firefox-talos-svg 33.429 35.360 3.46% 3/3 After: [ 0] gl firefox-talos-gfx 35.895 36.250 0.48% 3/3 [ 0] gl firefox-talos-svg 26.669 29.888 5.34% 3/3 This doesn't avoid all the pipeline stalls because the kernel reports !busy for buffers on the flushing list. That should be fixed in .36.
* i965: Avoid calloc/free in the CURBE upload process.Eric Anholt2010-06-095-20/+26
| | | | | | | In exchange we end up with an extra memcpy, but that seems better than calloc/free. Each buffer is 4k maximum, and on the i965-streaming branch this allocation was showing up as the top entry in brw_validate_state profiling for cairo-gl.
* r300g: try harder to create a transfer objectMarek Olšák2010-06-091-7/+34
| | | | | | | I was told this wouldn't help to fix the FDO bug #28443, but still, it's a harmless last resort. Also, linear textures safely fallback to an unpipelined transfer here.
* draw: make sure geometry shader correctly iterates the output bufferZack Rusin2010-06-092-5/+11
|
* r300g: debug output texture sizeMarek Olšák2010-06-091-1/+2
|
* r300g: return NULL texture early if buffer_create failsMarek Olšák2010-06-091-5/+5
|
* draw: make sure the buffer is big enough to fit everything emitted by the gsZack Rusin2010-06-092-48/+27
|
* llvmpipe: fix copy & paste bug in clear logicRoland Scheidegger2010-06-091-1/+1
| | | | fixes bug 28450.
* draw: fix geometry shader which emit multiplie primitivesZack Rusin2010-06-091-18/+20
|
* graw: add a multiple primitive geometry shader testZack Rusin2010-06-091-0/+42
|
* nv: fix compile after the latest gs changesZack Rusin2010-06-091-1/+1
|
* geometry shaders: make gs work with changable primitives and variable number ↵Zack Rusin2010-06-0914-99/+152
| | | | | | | | of vertices lots and lots of fixes for geometry shaders. in particular now we work when the gs emits a different primitive than the one the pipeline was started with and also we work when gs emits more vertices than would fit in the original buffer.
* xorg/vmwgfx: Disable 3D by default.Thomas Hellstrom2010-06-091-0/+1
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* st/xorg: Add a customizable option to disable 3D.Thomas Hellstrom2010-06-092-3/+17
| | | | | | | If no customizer is present, 3D will be enabled by default. Otherwise the option will default to the customizer value. Signed-off-by: Thomas Hellstrom <[email protected]>
* nvfx: fix typo from gallium-msaa mergeBen Skeggs2010-06-091-1/+1
|
* nv50: fix typo from gallium-msaa mergeBen Skeggs2010-06-091-1/+1
|
* nv50: use MARK_RING correctlyBen Skeggs2010-06-091-4/+6
|
* draw: Remove unnecessary headers.Vinson Lee2010-06-082-2/+0
|
* r600g: save vertex buffers in blitterMarek Olšák2010-06-091-0/+3
|
* r300g: save vertex buffers in blitterMarek Olšák2010-06-091-2/+1
|
* util: reference vertex buffers in blitterMarek Olšák2010-06-092-0/+18
|
* r300g: report that transfers are always supportedMarek Olšák2010-06-091-0/+6
|
* r300g: fix loading compressed texturesMarek Olšák2010-06-091-2/+6
|
* r300g: skip rendering for unsupported vertex formats instead of abortingMarek Olšák2010-06-084-94/+93
| | | | The next step is to replace skipping by an actual fallback.
* intel: Flag NEW_BUFFERS when changing draw buffers.Eric Anholt2010-06-081-0/+1
| | | | | | | There were entries to this function (most imporantly, prepare_render -> update_renderbuffers) that wouldn't have had NEW_BUFFERS set, but brw_wm_surface_state (the i965 state tracking the drawing regions) expected this to change.
* intel: Convert remaining dri_bo_emit_reloc to drm_intel_bo_emit_reloc.Eric Anholt2010-06-089-60/+41
| | | | | The new API makes so much more sense, I'd like to forget how the old one worked.
* intel: Change dri_bo_* to drm_intel_bo* to consistently use new API.Eric Anholt2010-06-0844-272/+277
| | | | | The slightly less mechanical change of converting the emit_reloc calls will follow.
* intel: Clean up stale comments in intel_batchbuffer.c.Eric Anholt2010-06-081-4/+1
|
* intel: Remove the non-gem paths for batchbuffer upload.Eric Anholt2010-06-081-22/+4
|
* intel: Update comment in intel_tex_copy from before miptree x/y rework.Eric Anholt2010-06-081-1/+1
|
* softpipe: make sure we don't fallback to assert on so stats queryZack Rusin2010-06-081-0/+2
| | | | spotted by Vinson
* softpipe: make sure that invalid calls to sosettargets don't crash usZack Rusin2010-06-081-0/+7
|
* r600: Make next_inst() static.Henri Verbeet2010-06-082-59/+61
|
* r600: Assert output registers have a valid export index.Henri Verbeet2010-06-081-0/+4
|
* r600: Process exports for all written fragment outputs.Henri Verbeet2010-06-081-26/+12
|
* r600: Fill uiFP_OutputMap for all written fragment outputs.Henri Verbeet2010-06-081-16/+17
|
* SConscript: don't build mesa components if mesa not in state trackersKeith Whitwell2010-06-081-5/+5
|
* softpipe: added sp_state_so.c to file listBrian Paul2010-06-081-0/+1
|
* gallium: scream when one of two unimplemented features in draw is usedZack Rusin2010-06-081-6/+12
| | | | plus used the correctly specified stride
* gallium: add basic support for stream output queriesZack Rusin2010-06-084-3/+38
|
* gallium: adjust the query interface to support custom typesZack Rusin2010-06-0812-15/+22
| | | | we need to change it to support composite types
* gallium: rename draw_auto to draw_stream_output, plus fix a commentZack Rusin2010-06-085-5/+4
| | | | Brian spotted those
* gallium: make draw auto work and add relevant caps and docsZack Rusin2010-06-087-6/+43
|
* gallium: add interface for DrawAuto and implement it in softpipeZack Rusin2010-06-086-1/+75
|
* gallium: a lot more complete implementation of stream outputZack Rusin2010-06-089-75/+381
| | | | | | | interface wise we have everything needed by d3d10 and gl transform feedback. the draw module misses implementation of some corner cases (e.g. when stream output wants different number of components per output than normal rendering paths)
* gallium: basic and initial implementation of the stream output interfaceZack Rusin2010-06-0811-1/+161
| | | | aka transform feedback
* st/mesa: attempt to fix TFP by using sampler views (v1)Dave Airlie2010-06-085-10/+63
| | | | | | | | | Okay I think this is good enough for now, I can't see any other reason for mesa to want to use a sampler view so lets just leave it at all the A->X conversions for now. I've been running gnome-shell under r300g with this for day or so and it seems fine. Signed-off-by: Dave Airlie <[email protected]>
* llvmpipe: Add geom shader file to make buildJakob Bornecrantz2010-06-081-0/+1
|
* graw: Fix file handle leaks.Vinson Lee2010-06-073-0/+3
|