Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nv50: get rid of the static_init stateobj | Christoph Bumiller | 2010-03-21 | 3 | -140/+142 |
| | | | | | | | | | Relocations of per-screen buffers are now emitted directly, and include the necessary method to get changes in constbuf addresses committed to the hw. It should also be a bit cheaper than the way stateobjs emit relocation markers, use a little less pushbuf space. | ||||
* | gallium: add soft screen helper | George Sapountzis | 2010-03-21 | 8 | -37/+120 |
| | |||||
* | dri1_api: need not include drm.h | George Sapountzis | 2010-03-21 | 1 | -1/+1 |
| | |||||
* | drm/sw: does not need sw_winsys | George Sapountzis | 2010-03-21 | 1 | -1/+0 |
| | |||||
* | drm/sw: llvmpipe texture_from_handle | George Sapountzis | 2010-03-21 | 1 | -0/+1 |
| | | | | Not sure, but judging by softpipe, this hook was forgotten. | ||||
* | Makefile.template: respect LIBRARY_DEFINES in mkdep | George Sapountzis | 2010-03-21 | 1 | -1/+1 |
| | |||||
* | r300g: fix occlusion query hangs. | Dave Airlie | 2010-03-21 | 2 | -3/+5 |
| | | | | | | | | | | Okay need to revist the whole OQ stuff anyways, glean test asserts which is never good. I'm liking the cached bufmgr restrictions less and less, I think I'll probably play with the fence and/or busy stuff ASAP and try and clean it up. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300g: add bufmgr cached for vertex/index buffers. | Dave Airlie | 2010-03-21 | 3 | -4/+18 |
| | | | | | | | This adds the cached bufmgr for vertex/index buffers on top of the kernel manager. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | gallium: cached bufmgr add map busy check | Dave Airlie | 2010-03-21 | 1 | -0/+9 |
| | | | | | | | | | | Suggested by Jose on the list, probably not perfect but will let me get past this for now, testing with a fenced bufmgr on top of this, was slower, Also this doesn't let you do the busy early exit optimisation either from what I can see. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | Merge remote branch 'origin/gallium-st-api-dri' | Chia-I Wu | 2010-03-21 | 13 | -905/+1345 |
|\ | |||||
| * | st/dri: fix bug in make_current | George Sapountzis | 2010-03-20 | 1 | -1/+1 |
| | | |||||
| * | st/dri: fix bug in allocate_textures | George Sapountzis | 2010-03-20 | 1 | -1/+1 |
| | | |||||
| * | st/dri: Switch from st_public.h to st_api.h. | Chia-I Wu | 2010-03-18 | 10 | -558/+393 |
| | | | | | | | | | | This is tested with demos found in progs/demos. However, only the DRI2 path is tested. | ||||
| * | st/dri: Implement st_api.h callbacks. | Chia-I Wu | 2010-03-18 | 5 | -0/+505 |
| | | | | | | | | | | This commit adds dri_st_api.c that implements st_api.h callbacks. A following commit will switch st/dri from st_public.h to st_api.h. | ||||
| * | st/dri: Headers and public symbols clean up. | Chia-I Wu | 2010-03-18 | 5 | -14/+8 |
| | | | | | | | | Remove unused headers and stop marking driDriverAPI as PUBLIC. | ||||
| * | st/dri: Move DRI1 bits in dri_context.c to dri1.c. | Chia-I Wu | 2010-03-18 | 3 | -66/+64 |
| | | |||||
| * | st/dri: Move DRI1 bits in dri_drawable.c to dri1.c. | Chia-I Wu | 2010-03-18 | 5 | -319/+336 |
| | | |||||
| * | st/dri: Move DRI1 bits in dri_screen.c to dri1.c. | Chia-I Wu | 2010-03-18 | 9 | -82/+173 |
| | | |||||
* | | r300g: align misaligned ushort vertex indices | Marek Olšák | 2010-03-21 | 1 | -1/+29 |
| | | |||||
* | | r300g: fix misaligned generated offset for ubyte vertex indices | Marek Olšák | 2010-03-21 | 1 | -1/+5 |
| | | |||||
* | | r300g: split the vertex buffer alignment validation | Marek Olšák | 2010-03-21 | 1 | -22/+29 |
| | | |||||
* | | r300g: skip null vertex buffers | Marek Olšák | 2010-03-21 | 1 | -1/+6 |
| | | |||||
* | | r300g: Bump immediate limits. | Corbin Simpson | 2010-03-20 | 1 | -3/+2 |
| | | | | | | | | | | Seems like a decent idea, especially since the big barrier now is getting the VBOs back from the VRAM boundary. | ||||
* | | r300g: Correctly hax max_index on pipe_vertex_buffers. | Corbin Simpson | 2010-03-20 | 2 | -12/+28 |
| | | | | | | | | Still not happy with this, but at least things seem to work. | ||||
* | | radeong: Use TRUE and FALSE. | Corbin Simpson | 2010-03-20 | 1 | -2/+2 |
| | | |||||
* | | radeong: Test the BO ptr for NULL instead of using a bool. | Corbin Simpson | 2010-03-20 | 1 | -8/+4 |
| | | | | | | | | | | Slight memory savings, but more importantly also avoids a potential NULL dereference. | ||||
* | | r300g: winsys fix tiling change flushes. | Dave Airlie | 2010-03-21 | 1 | -2/+10 |
| | | | | | | | | | | | | | | | | If we change the tiling on a buffer we need to flush it, the old radeon_buffer.c code had this but it crossed streams when I ported to radeon_drm_buffer.c and I missed it. Should fix some piglit regressions. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | | r300g: add buffer/texture referenced checks. | Dave Airlie | 2010-03-21 | 1 | -15/+9 |
| | | | | | | | | | | | | | | I've no idea about the comments that were in there, just pass this down to the winsys. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | | gallivm: simplify and clean-up Z/stencil bit mask/shift code | Brian Paul | 2010-03-19 | 1 | -87/+160 |
| | | | | | | | | | | | | Refactor the code into two helper functions which compute the bit mask and shift terms for Z and stencil. Plus add a bunch of new comments to explain everything. | ||||
* | | cso: remove cso_set/save/restore_sampler_textures | Roland Scheidegger | 2010-03-19 | 2 | -76/+0 |
| | | | | | | | | no longer used after all statetrackers have been converted. | ||||
* | | st/vega: fix up vega state tracker to use cso changes | Roland Scheidegger | 2010-03-19 | 13 | -146/+253 |
| | | | | | | | | | | | | use cso fragment sampler views instead of sampler textures. since we don't really change views, try to store sampler views instead of the textures to avoid having to recreate views most of the time. | ||||
* | | es: added -I$(TOP)/include path | Brian Paul | 2010-03-19 | 1 | -0/+1 |
| | | |||||
* | | gallium/docs: Clarify sampler view descriptions. | Michal Krol | 2010-03-19 | 1 | -5/+5 |
| | | |||||
* | | gallium/docs: Fix a couple ReST errors. | Corbin Simpson | 2010-03-19 | 2 | -1/+2 |
| | | |||||
* | | r300g: lod min/max clamping should be relative to the base level | Marek Olšák | 2010-03-19 | 1 | -3/+3 |
| | | |||||
* | | r300g: fix breakage after the gallium-sampler-view merge | Marek Olšák | 2010-03-19 | 3 | -9/+22 |
| | | |||||
* | | r300g: add PIPE_FORMAT_B5G5R5X1_UNORM colorbuffer support, cleanups | Marek Olšák | 2010-03-19 | 1 | -6/+7 |
| | | |||||
* | | r300g: mark SRGB colorbuffers as unsupported | Marek Olšák | 2010-03-19 | 1 | -20/+1 |
| | | | | | | | | | | I can't find the register bits for SRGB-aware blending and it's not even exposed by fglrx so it's most probably not supported by hw. | ||||
* | | r300g: add generating texture coordinates for point sprites (WIP) | Marek Olšák | 2010-03-19 | 6 | -13/+61 |
| | | |||||
* | | gallivm: support PIPE_FORMAT_Z24S8_UNORM in depth/stencil code | Brian Paul | 2010-03-18 | 1 | -3/+18 |
| | | |||||
* | | gallivm: fix broken INCR/DECR stencil modes | Brian Paul | 2010-03-18 | 1 | -6/+17 |
| | | | | | | | | We were mistakenly using the wrong data type for stencil values before. | ||||
* | | gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass through | Brian Paul | 2010-03-18 | 8 | -37/+57 |
| | | | | | | | | | | | | | | | | | | | | The triangle rasterizer sets this field to indicate front/back-facing. It gets passed into the generated fragment code as another parameter. Used now for stencil front/back selection but will also be used for fragment shaders in general (see TGSI_SEMANTIC_FACE). With this commit two-sided stenciling mostly works but there's still a bug or two... | ||||
* | | llvmpipe: defines for RAST_WHOLE, RAST_EDGE_TEST | Brian Paul | 2010-03-18 | 3 | -20/+27 |
| | | |||||
* | | Add format B5G5R5X1 | Alan Hourihane | 2010-03-18 | 6 | -0/+84 |
| | | |||||
* | | gallivm/llvmpipe: simplify front/back stencil ref value handling | Brian Paul | 2010-03-18 | 6 | -50/+30 |
| | | | | | | | | Instead of passing an array, just pass two scalar values. | ||||
* | | gallivm: checkpoint WIP two-sided stencil test | Brian Paul | 2010-03-18 | 1 | -30/+191 |
| | | |||||
* | | llvmpipe: set opaque = FALSE if stencil enabled | Brian Paul | 2010-03-18 | 1 | -0/+1 |
| | | | | | | | | Fixes occasional bad tiles seen in some demos like progs/demos/reflect.c | ||||
* | | llvmpipe: Fix crashes when there is no depth buffer bound. | José Fonseca | 2010-03-18 | 1 | -0/+3 |
|/ | |||||
* | gallivm/llvmpipe: basic stencil testing works | Brian Paul | 2010-03-17 | 2 | -26/+140 |
| | | | | | | Most stencil demos look OK (modulo some unrelated rendering glitches). Only single-sided stencil test works at this point. There are probably some bugs to be found... | ||||
* | llvmpipe: remove incorrect depth test check | Brian Paul | 2010-03-17 | 1 | -4/+1 |
| |