summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-10gallium: add a predicate value to render_condition()gallium-render-condition-predicateKeith Whitwell7-5/+24
This can be used to invert the condition under which we render / do not render subsequent commands. The old behaviour matches the case where the predicate is FALSE.
2010-06-10draw: make sure that the gs never outputs more data than we allocated forZack Rusin1-17/+25
2010-06-10r300g: Fix memory leak on error path.Vinson Lee1-0/+1
2010-06-10i965: Add support for GL_ALPHA framebuffer objects.Eric Anholt6-14/+85
2010-06-10mesa: Allow GL_ALPHA FBOs with ARB_framebuffer_object.Eric Anholt2-3/+7
Drivers still reject them today, but cairo would like to use these.
2010-06-10swrast: When reading from a 0-bits r,g,b channel, return 0 not 1.Eric Anholt1-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.
2010-06-09intel: Use the blitter to upload TexSubImage data to busy textures.Eric Anholt1-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.
2010-06-09i965: Avoid calloc/free in the CURBE upload process.Eric Anholt5-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.
2010-06-09r300g: try harder to create a transfer objectMarek Olšák1-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.
2010-06-09draw: make sure geometry shader correctly iterates the output bufferZack Rusin2-5/+11
2010-06-09r300g: debug output texture sizeMarek Olšák1-1/+2
2010-06-09r300g: return NULL texture early if buffer_create failsMarek Olšák1-5/+5
2010-06-09draw: make sure the buffer is big enough to fit everything emitted by the gsZack Rusin2-48/+27
2010-06-09llvmpipe: fix copy & paste bug in clear logicRoland Scheidegger1-1/+1
fixes bug 28450.
2010-06-09draw: fix geometry shader which emit multiplie primitivesZack Rusin1-18/+20
2010-06-09graw: add a multiple primitive geometry shader testZack Rusin1-0/+42
2010-06-09nv: fix compile after the latest gs changesZack Rusin1-1/+1
2010-06-09geometry shaders: make gs work with changable primitives and variable number ↵Zack Rusin14-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.
2010-06-09xorg/vmwgfx: Disable 3D by default.Thomas Hellstrom1-0/+1
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-06-09st/xorg: Add a customizable option to disable 3D.Thomas Hellstrom2-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 <thellstrom@vmware.com>
2010-06-09nvfx: fix typo from gallium-msaa mergeBen Skeggs1-1/+1
2010-06-09nv50: fix typo from gallium-msaa mergeBen Skeggs1-1/+1
2010-06-09nv50: use MARK_RING correctlyBen Skeggs1-4/+6
2010-06-08draw: Remove unnecessary headers.Vinson Lee2-2/+0
2010-06-09r600g: save vertex buffers in blitterMarek Olšák1-0/+3
2010-06-09r300g: save vertex buffers in blitterMarek Olšák1-2/+1
2010-06-09util: reference vertex buffers in blitterMarek Olšák2-0/+18
2010-06-09r300g: report that transfers are always supportedMarek Olšák1-0/+6
2010-06-09r300g: fix loading compressed texturesMarek Olšák1-2/+6
2010-06-08r300g: skip rendering for unsupported vertex formats instead of abortingMarek Olšák4-94/+93
The next step is to replace skipping by an actual fallback.
2010-06-08intel: Flag NEW_BUFFERS when changing draw buffers.Eric Anholt1-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.
2010-06-08intel: Convert remaining dri_bo_emit_reloc to drm_intel_bo_emit_reloc.Eric Anholt9-60/+41
The new API makes so much more sense, I'd like to forget how the old one worked.
2010-06-08intel: Change dri_bo_* to drm_intel_bo* to consistently use new API.Eric Anholt44-272/+277
The slightly less mechanical change of converting the emit_reloc calls will follow.
2010-06-08intel: Clean up stale comments in intel_batchbuffer.c.Eric Anholt1-4/+1
2010-06-08intel: Remove the non-gem paths for batchbuffer upload.Eric Anholt1-22/+4
2010-06-08intel: Update comment in intel_tex_copy from before miptree x/y rework.Eric Anholt1-1/+1
2010-06-08softpipe: make sure we don't fallback to assert on so stats queryZack Rusin1-0/+2
spotted by Vinson
2010-06-08softpipe: make sure that invalid calls to sosettargets don't crash usZack Rusin1-0/+7
2010-06-08r600: Make next_inst() static.Henri Verbeet2-59/+61
2010-06-08r600: Assert output registers have a valid export index.Henri Verbeet1-0/+4
2010-06-08r600: Process exports for all written fragment outputs.Henri Verbeet1-26/+12
2010-06-08r600: Fill uiFP_OutputMap for all written fragment outputs.Henri Verbeet1-16/+17
2010-06-08SConscript: don't build mesa components if mesa not in state trackersKeith Whitwell1-5/+5
2010-06-08softpipe: added sp_state_so.c to file listBrian Paul1-0/+1
2010-06-08gallium: scream when one of two unimplemented features in draw is usedZack Rusin1-6/+12
plus used the correctly specified stride
2010-06-08gallium: add basic support for stream output queriesZack Rusin4-3/+38
2010-06-08gallium: adjust the query interface to support custom typesZack Rusin12-15/+22
we need to change it to support composite types
2010-06-08gallium: rename draw_auto to draw_stream_output, plus fix a commentZack Rusin5-5/+4
Brian spotted those
2010-06-08gallium: make draw auto work and add relevant caps and docsZack Rusin7-6/+43
2010-06-08gallium: add interface for DrawAuto and implement it in softpipeZack Rusin6-1/+75