Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: track drawing region as a single u_rect | Keith Whitwell | 2010-08-25 | 3 | -63/+86 |
| | |||||
* | llvmpipe: better triangle debugging | Keith Whitwell | 2010-08-25 | 2 | -19/+67 |
| | |||||
* | llvmpipe: cull zero-area triangles early | Keith Whitwell | 2010-08-25 | 1 | -2/+3 |
| | |||||
* | llvmpipe: more rasterization counters | Keith Whitwell | 2010-08-25 | 3 | -6/+29 |
| | |||||
* | llvmpipe: move some fence functions into lp_screen.c | Keith Whitwell | 2010-08-25 | 4 | -57/+79 |
| | |||||
* | llvmpipe: wake all threads waiting on a fence | Keith Whitwell | 2010-08-25 | 1 | -1/+3 |
| | |||||
* | llvmpipe: fence debugging, add llvmpipe_finish | Keith Whitwell | 2010-08-25 | 13 | -65/+74 |
| | |||||
* | draw: specialized cliptesting routines | Keith Whitwell | 2010-08-25 | 2 | -3/+2 |
| | |||||
* | llvmpipe: remove dead code | Keith Whitwell | 2010-08-25 | 1 | -37/+0 |
| | |||||
* | gallium: Use draw_set_index_buffer and others. | Chia-I Wu | 2010-08-25 | 13 | -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 Wu | 2010-08-25 | 3 | -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 Lee | 2010-08-25 | 1 | -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 Lee | 2010-08-25 | 1 | -0/+4 |
| | | | | | Include stdint.h for uint8_t symbol. Include p_compiler.h for INLINE symbol. | ||||
* | r300g: fix gl_PointCoord | Marek Olšák | 2010-08-25 | 1 | -2/+7 |
| | | | | | Is this hackish or is this the correct way to use point_quad_rasterization? Copied from nvfx. | ||||
* | r300g: eliminate unused constants in FS | Marek Olšák | 2010-08-25 | 3 | -7/+32 |
| | |||||
* | r300g: eliminate unused constants in VS | Marek Olšák | 2010-08-25 | 5 | -8/+31 |
| | |||||
* | r300g: clean up some mess in set_constant_buffer | Marek Olšák | 2010-08-25 | 2 | -22/+1 |
| | |||||
* | r300g: fix indentation | Marek Olšák | 2010-08-25 | 2 | -8/+8 |
| | |||||
* | r300g: reset the index bias to 0 at the end of CS | Marek Olšák | 2010-08-25 | 4 | -5/+12 |
| | |||||
* | nvfx: Initialize variables on error path. | Vinson Lee | 2010-08-24 | 1 | -0/+4 |
| | |||||
* | r600g: Add support for PIPE_FORMAT_R32_FLOAT. | Henri Verbeet | 2010-08-24 | 1 | -0/+3 |
| | |||||
* | nvfx: Remove unnecessary headers. | Vinson Lee | 2010-08-23 | 3 | -4/+0 |
| | |||||
* | r300g: Remove unused variable. | Vinson Lee | 2010-08-23 | 1 | -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 support | Dave Airlie | 2010-08-24 | 1 | -1/+124 |
| | | | | ported from r600c. | ||||
* | r600g: add CMP support. | Dave Airlie | 2010-08-24 | 1 | -1/+50 |
| | | | | ported from r600c, fixes fp-cmp, glsl1-sqrt* | ||||
* | nvfx: don't emit dummy commands on nv30 | Luca Barbieri | 2010-08-24 | 1 | -4/+8 |
| | | | | Should fix errors on the original nv30, reported by pmdata. | ||||
* | r600g: Add support for PIPE_CAP_DEPTH_CLAMP. | Henri Verbeet | 2010-08-23 | 2 | -3/+4 |
| | |||||
* | r600g: export one component per pixel + r7xx uncompression shader | Jerome Glisse | 2010-08-23 | 5 | -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 accounting | Luca Barbieri | 2010-08-23 | 1 | -2/+4 |
| | |||||
* | nvfx: emit bo relocations only when needed | Luca Barbieri | 2010-08-23 | 8 | -20/+65 |
| | | | | Should improve performance, possibly significantly. | ||||
* | nvfx: match Gallium's gl_PointCoord brokenness | Luca Barbieri | 2010-08-23 | 1 | -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 nv30 | Luca Barbieri | 2010-08-23 | 7 | -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 vbo | Dave Airlie | 2010-08-23 | 3 | -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 leak | Luca Barbieri | 2010-08-23 | 1 | -1/+1 |
| | |||||
* | nvfx: support both sprite coord origins | Luca Barbieri | 2010-08-23 | 3 | -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 temps | Luca Barbieri | 2010-08-23 | 1 | -8/+8 |
| | |||||
* | r600g: fix DB decompression | Jerome Glisse | 2010-08-22 | 6 | -75/+97 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | nvfx: Include missing header in nvfx_vertprog.c. | Vinson Lee | 2010-08-22 | 1 | -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 versions | Luca Barbieri | 2010-08-22 | 5 | -76/+127 |
| | |||||
* | nvfx: move stuff around | Luca Barbieri | 2010-08-22 | 5 | -84/+95 |
| | |||||
* | r600g: depth buffer likely needs decompression when used as texture | Jerome Glisse | 2010-08-22 | 8 | -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 key | Keith Whitwell | 2010-08-22 | 2 | -6/+22 |
| | | | | Don't spend as much time comparing them. | ||||
* | llvmpipe: remove unused member from lp_fragment_shader_variant_key | Keith Whitwell | 2010-08-22 | 1 | -4/+0 |
| | |||||
* | llvmpipe: don't clear unused bins | Keith Whitwell | 2010-08-22 | 1 | -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 logic | Luca Barbieri | 2010-08-22 | 6 | -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 enable | Luca Barbieri | 2010-08-22 | 4 | -27/+3 |
| | |||||
* | nvfx: fix vertex programs | Luca Barbieri | 2010-08-22 | 1 | -0/+2 |
| | |||||
* | nvfx: use relocations array for vp constants | Luca Barbieri | 2010-08-22 | 4 | -35/+34 |
| | |||||
* | svga: Do not shortcut NULL surface relocations with SVGA3D_INVALID_ID. | José Fonseca | 2010-08-22 | 2 | -6/+9 |
| | | | | | How to cope with NULL surface relocations should be entirely at winsys' discretion. | ||||
* | nvfx: Silence unused variable warning. | Vinson Lee | 2010-08-22 | 1 | -0/+1 |
| | | | | The variable is used but only in the body of an assert. |