summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-10139-464/+462
|
* mesa: move shader/slang/* sources to main/slang/*Brian Paul2010-06-1054-49/+49
| | | | Reduce the source tree depth a bit.
* mesa: move nvprogram.[ch] to main/Brian Paul2010-06-107-13/+13
|
* mesa: move arbprogram.[ch] to main/Brian Paul2010-06-109-12/+12
|
* mesa: move atifragshader.[ch] to main/Brian Paul2010-06-109-12/+12
|
* mesa: move uniforms.c to main/Brian Paul2010-06-106-6/+6
|
* mesa: refactor shader api / object codeBrian Paul2010-06-1020-1872/+1793
| | | | | Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
* i965: remove UseProgram driver callbackBrian Paul2010-06-101-10/+0
| | | | It just duplicated the default/core Mesa behaviour.
* st/egl: Remove unnecessary header.Vinson Lee2010-06-101-1/+0
|
* intel: Remove unnecessary header.Vinson Lee2010-06-101-1/+0
|
* draw: forgot to add a fileZack Rusin2010-06-101-0/+129
|
* draw: rewrite geometry shader pipelineZack Rusin2010-06-102-103/+142
| | | | | done to handle strips correctly as inputs - we need to decompose the strips
* gs: give our test an option of rendering a stripZack Rusin2010-06-101-6/+42
|
* draw: geometry shader fixesZack Rusin2010-06-105-27/+109
| | | | | don't overwrite the inputs and make sure the correct primitive is used on entry
* draw: make sure that the gs never outputs more data than we allocated forZack Rusin2010-06-101-17/+25
|
* r300g: Fix memory leak on error path.Vinson Lee2010-06-101-0/+1
|
* i965: Add support for GL_ALPHA framebuffer objects.Eric Anholt2010-06-106-14/+85
|
* mesa: Allow GL_ALPHA FBOs with ARB_framebuffer_object.Eric Anholt2010-06-102-3/+7
| | | | Drivers still reject them today, but cairo would like to use these.
* 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