summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: track drawing region as a single u_rectKeith Whitwell2010-08-253-63/+86
|
* llvmpipe: better triangle debuggingKeith Whitwell2010-08-252-19/+67
|
* llvmpipe: cull zero-area triangles earlyKeith Whitwell2010-08-251-2/+3
|
* llvmpipe: more rasterization countersKeith Whitwell2010-08-253-6/+29
|
* llvmpipe: move some fence functions into lp_screen.cKeith Whitwell2010-08-254-57/+79
|
* llvmpipe: wake all threads waiting on a fenceKeith Whitwell2010-08-251-1/+3
|
* llvmpipe: fence debugging, add llvmpipe_finishKeith Whitwell2010-08-2513-65/+74
|
* draw: specialized cliptesting routinesKeith Whitwell2010-08-252-3/+2
|
* llvmpipe: remove dead codeKeith Whitwell2010-08-251-37/+0
|
* gallium: Use draw_set_index_buffer and others.Chia-I Wu2010-08-2513-93/+50
| | | | | | Update all drivers to use draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. Remove draw_set_mapped_element_buffer and draw_set_mapped_element_buffer_range.
* svga: Remove redundant svga_draw_range_elements.Chia-I Wu2010-08-253-87/+45
| | | | | | | That is, implement draw_vbo directly. As a result, svga_swtnl_draw_range_elements is also replaced by svga_swtnl_draw_vbo. This commit should not have any functional change.
* nvfx: Clean up header file inclusion in nvfx_screen.h.Vinson Lee2010-08-251-2/+2
| | | | | | | Remove nvfx_context.h. Include p_compiler.h for INLINE symbol. Fixes nvfx_context.h -> nvfx_screen.h -> nvfx_context.h include recursion.
* nvfx: Include missing headers in nvfx_shader.h.Vinson Lee2010-08-251-0/+4
| | | | | Include stdint.h for uint8_t symbol. Include p_compiler.h for INLINE symbol.
* r300g: fix gl_PointCoordMarek Olšák2010-08-251-2/+7
| | | | | Is this hackish or is this the correct way to use point_quad_rasterization? Copied from nvfx.
* r300g: eliminate unused constants in FSMarek Olšák2010-08-253-7/+32
|
* r300g: eliminate unused constants in VSMarek Olšák2010-08-255-8/+31
|
* r300g: clean up some mess in set_constant_bufferMarek Olšák2010-08-252-22/+1
|
* r300g: fix indentationMarek Olšák2010-08-252-8/+8
|
* r300g: reset the index bias to 0 at the end of CSMarek Olšák2010-08-254-5/+12
|
* nvfx: Initialize variables on error path.Vinson Lee2010-08-241-0/+4
|
* r600g: Add support for PIPE_FORMAT_R32_FLOAT.Henri Verbeet2010-08-241-0/+3
|
* nvfx: Remove unnecessary headers.Vinson Lee2010-08-233-4/+0
|
* r300g: Remove unused variable.Vinson Lee2010-08-231-2/+0
| | | | | | Fixes this GCC warning. r300_render.c: In function 'r300_draw_flush_vbuf': r300_render.c:988: warning: unused variable 'r300_render'
* r600g: add XPD supportDave Airlie2010-08-241-1/+124
| | | | ported from r600c.
* r600g: add CMP support.Dave Airlie2010-08-241-1/+50
| | | | ported from r600c, fixes fp-cmp, glsl1-sqrt*
* nvfx: don't emit dummy commands on nv30Luca Barbieri2010-08-241-4/+8
| | | | Should fix errors on the original nv30, reported by pmdata.
* r600g: Add support for PIPE_CAP_DEPTH_CLAMP.Henri Verbeet2010-08-232-3/+4
|
* r600g: export one component per pixel + r7xx uncompression shaderJerome Glisse2010-08-235-5/+89
| | | | | | | We need to always at least export one component (wether it's depth or color. Add valid r7xx shader program for depth decompression. Signed-off-by: Jerome Glisse <[email protected]>
* nvfx: improve fp temp accountingLuca Barbieri2010-08-231-2/+4
|
* nvfx: emit bo relocations only when neededLuca Barbieri2010-08-238-20/+65
| | | | Should improve performance, possibly significantly.
* nvfx: match Gallium's gl_PointCoord brokennessLuca Barbieri2010-08-231-2/+5
| | | | | | | Gallium always puts gl_PointCoord in GENERIC[0] if point_quad_rasterization is enabled. This is silly, but for now it makes mesa-demos/glsl/pointcoord work.
* nvfx: support clip planes sensibly and fix them on nv30Luca Barbieri2010-08-237-116/+163
| | | | | | | | | | Before, we were discarding the compiled vertex program on each vertex program change. Now we compile the program as if there were 6 clip planes and dynamically patch in an "end program" bit at the right place. Also, nv30 should now work.
* r300g: avoid stall in no-tcl drawing when mapping vboDave Airlie2010-08-233-15/+26
| | | | | | | | | the current code reuses the same vbo over and over, however after a flush we'd stall and wait for mapping on the vbo when we should just fire and forget. On a gears test this brings me from ~620 to ~750 on my rv530 in swtcl mode. Signed-off-by: Dave Airlie <[email protected]>
* nvfx: fix minor memory leakLuca Barbieri2010-08-231-1/+1
|
* nvfx: support both sprite coord originsLuca Barbieri2010-08-233-43/+108
| | | | | | | Now we lie less when claiming OpenGL 2 support. Also, first piglit result group is now all green, except for fdo25614-genmipmap, which seems mesa/st's fault.
* nvfx: use 64-bit bitmasks for tempsLuca Barbieri2010-08-231-8/+8
|
* r600g: fix DB decompressionJerome Glisse2010-08-226-75/+97
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* nvfx: Include missing header in nvfx_vertprog.c.Vinson Lee2010-08-221-0/+2
| | | | | | | | | | | Include draw_context.h for draw_*_vertex_shader symbols. Fixes the following GCC warning. nvfx_vertprog.c: In function 'nvfx_vp_state_create': nvfx_vertprog.c:1276: warning: implicit declaration of function 'draw_create_vertex_shader' nvfx_vertprog.c:1276: warning: assignment makes pointer from integer without a cast nvfx_vertprog.c: In function 'nvfx_vp_state_delete': nvfx_vertprog.c:1298: warning: implicit declaration of function 'draw_delete_vertex_shader'
* nvfx: refactor to support multiple fragment program versionsLuca Barbieri2010-08-225-76/+127
|
* nvfx: move stuff aroundLuca Barbieri2010-08-225-84/+95
|
* r600g: depth buffer likely needs decompression when used as textureJerome Glisse2010-08-228-34/+919
| | | | | | | | Before using depth buffer as texture, it needs to be decompressed (tile pattern of db are different from one used for colorbuffer like texture) Signed-off-by: Jerome Glisse <[email protected]>
* llvmpipe: reduce size of fragment shader variant keyKeith Whitwell2010-08-222-6/+22
| | | | Don't spend as much time comparing them.
* llvmpipe: remove unused member from lp_fragment_shader_variant_keyKeith Whitwell2010-08-221-4/+0
|
* llvmpipe: don't clear unused binsKeith Whitwell2010-08-221-2/+5
| | | | | If bins outside the current scene bounds are being corrupted, we'll need to fix that separately. Currently seems ok though.
* nvfx: simplify and correct fragment program update logicLuca Barbieri2010-08-226-94/+149
| | | | | | | This version should hopefully be much clearer and thus less likely to be subtly broken. Also fixes point sprites on nv40 and possibly some other bugs too.
* nvfx: make stipple setting independent of enableLuca Barbieri2010-08-224-27/+3
|
* nvfx: fix vertex programsLuca Barbieri2010-08-221-0/+2
|
* nvfx: use relocations array for vp constantsLuca Barbieri2010-08-224-35/+34
|
* svga: Do not shortcut NULL surface relocations with SVGA3D_INVALID_ID.José Fonseca2010-08-222-6/+9
| | | | | How to cope with NULL surface relocations should be entirely at winsys' discretion.
* nvfx: Silence unused variable warning.Vinson Lee2010-08-221-0/+1
| | | | The variable is used but only in the body of an assert.