Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: rename src/mesa/shader/ to src/mesa/program/ | Brian Paul | 2010-06-10 | 138 | -461/+459 |
| | |||||
* | mesa: move shader/slang/* sources to main/slang/* | Brian Paul | 2010-06-10 | 53 | -45/+45 |
| | | | | Reduce the source tree depth a bit. | ||||
* | mesa: move nvprogram.[ch] to main/ | Brian Paul | 2010-06-10 | 7 | -13/+13 |
| | |||||
* | mesa: move arbprogram.[ch] to main/ | Brian Paul | 2010-06-10 | 9 | -12/+12 |
| | |||||
* | mesa: move atifragshader.[ch] to main/ | Brian Paul | 2010-06-10 | 9 | -12/+12 |
| | |||||
* | mesa: move uniforms.c to main/ | Brian Paul | 2010-06-10 | 6 | -6/+6 |
| | |||||
* | mesa: refactor shader api / object code | Brian Paul | 2010-06-10 | 20 | -1872/+1793 |
| | | | | | Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/. | ||||
* | i965: remove UseProgram driver callback | Brian Paul | 2010-06-10 | 1 | -10/+0 |
| | | | | It just duplicated the default/core Mesa behaviour. | ||||
* | st/egl: Remove unnecessary header. | Vinson Lee | 2010-06-10 | 1 | -1/+0 |
| | |||||
* | intel: Remove unnecessary header. | Vinson Lee | 2010-06-10 | 1 | -1/+0 |
| | |||||
* | draw: forgot to add a file | Zack Rusin | 2010-06-10 | 1 | -0/+129 |
| | |||||
* | draw: rewrite geometry shader pipeline | Zack Rusin | 2010-06-10 | 2 | -103/+142 |
| | | | | | done to handle strips correctly as inputs - we need to decompose the strips | ||||
* | gs: give our test an option of rendering a strip | Zack Rusin | 2010-06-10 | 1 | -6/+42 |
| | |||||
* | draw: geometry shader fixes | Zack Rusin | 2010-06-10 | 5 | -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 for | Zack Rusin | 2010-06-10 | 1 | -17/+25 |
| | |||||
* | r300g: Fix memory leak on error path. | Vinson Lee | 2010-06-10 | 1 | -0/+1 |
| | |||||
* | i965: Add support for GL_ALPHA framebuffer objects. | Eric Anholt | 2010-06-10 | 6 | -14/+85 |
| | |||||
* | mesa: Allow GL_ALPHA FBOs with ARB_framebuffer_object. | Eric Anholt | 2010-06-10 | 2 | -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 Anholt | 2010-06-10 | 1 | -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 Anholt | 2010-06-09 | 1 | -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 Anholt | 2010-06-09 | 5 | -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 object | Marek Olšák | 2010-06-09 | 1 | -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 buffer | Zack Rusin | 2010-06-09 | 2 | -5/+11 |
| | |||||
* | r300g: debug output texture size | Marek Olšák | 2010-06-09 | 1 | -1/+2 |
| | |||||
* | r300g: return NULL texture early if buffer_create fails | Marek Olšák | 2010-06-09 | 1 | -5/+5 |
| | |||||
* | draw: make sure the buffer is big enough to fit everything emitted by the gs | Zack Rusin | 2010-06-09 | 2 | -48/+27 |
| | |||||
* | llvmpipe: fix copy & paste bug in clear logic | Roland Scheidegger | 2010-06-09 | 1 | -1/+1 |
| | | | | fixes bug 28450. | ||||
* | draw: fix geometry shader which emit multiplie primitives | Zack Rusin | 2010-06-09 | 1 | -18/+20 |
| | |||||
* | graw: add a multiple primitive geometry shader test | Zack Rusin | 2010-06-09 | 1 | -0/+42 |
| | |||||
* | nv: fix compile after the latest gs changes | Zack Rusin | 2010-06-09 | 1 | -1/+1 |
| | |||||
* | geometry shaders: make gs work with changable primitives and variable number ↵ | Zack Rusin | 2010-06-09 | 14 | -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 Hellstrom | 2010-06-09 | 1 | -0/+1 |
| | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | st/xorg: Add a customizable option to disable 3D. | Thomas Hellstrom | 2010-06-09 | 2 | -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 merge | Ben Skeggs | 2010-06-09 | 1 | -1/+1 |
| | |||||
* | nv50: fix typo from gallium-msaa merge | Ben Skeggs | 2010-06-09 | 1 | -1/+1 |
| | |||||
* | nv50: use MARK_RING correctly | Ben Skeggs | 2010-06-09 | 1 | -4/+6 |
| | |||||
* | draw: Remove unnecessary headers. | Vinson Lee | 2010-06-08 | 2 | -2/+0 |
| | |||||
* | r600g: save vertex buffers in blitter | Marek Olšák | 2010-06-09 | 1 | -0/+3 |
| | |||||
* | r300g: save vertex buffers in blitter | Marek Olšák | 2010-06-09 | 1 | -2/+1 |
| | |||||
* | util: reference vertex buffers in blitter | Marek Olšák | 2010-06-09 | 2 | -0/+18 |
| | |||||
* | r300g: report that transfers are always supported | Marek Olšák | 2010-06-09 | 1 | -0/+6 |
| | |||||
* | r300g: fix loading compressed textures | Marek Olšák | 2010-06-09 | 1 | -2/+6 |
| | |||||
* | r300g: skip rendering for unsupported vertex formats instead of aborting | Marek Olšák | 2010-06-08 | 4 | -94/+93 |
| | | | | The next step is to replace skipping by an actual fallback. | ||||
* | intel: Flag NEW_BUFFERS when changing draw buffers. | Eric Anholt | 2010-06-08 | 1 | -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 Anholt | 2010-06-08 | 9 | -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 Anholt | 2010-06-08 | 44 | -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 Anholt | 2010-06-08 | 1 | -4/+1 |
| | |||||
* | intel: Remove the non-gem paths for batchbuffer upload. | Eric Anholt | 2010-06-08 | 1 | -22/+4 |
| | |||||
* | intel: Update comment in intel_tex_copy from before miptree x/y rework. | Eric Anholt | 2010-06-08 | 1 | -1/+1 |
| | |||||
* | softpipe: make sure we don't fallback to assert on so stats query | Zack Rusin | 2010-06-08 | 1 | -0/+2 |
| | | | | spotted by Vinson |