Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 14 | -905/+1346 |
|\ | |||||
| * | 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/mesa: Set the pipe context of the texture object. | Chia-I Wu | 2010-03-18 | 1 | -0/+1 |
| | | | | | | | | | | The field was added in b8030c6561e019e079b5be2fe64ec804df4bfa03. This fixes a NULL dereference in xdemos/texture_from_pixmap. | ||||
| * | 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 |
| | | |||||
* | | r300/compiler: fix assertion failure in the r500-fragprog emission path | Marek Olšák | 2010-03-21 | 1 | -3/+2 |
| | | |||||
* | | 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]> | ||||
* | | docs: note GL_EXT_packed_float, GL_EXT_shared_exponent extensions | Brian Paul | 2010-03-20 | 1 | -0/+1 |
| | | |||||
* | | mesa: added GL3 query for GL_TEXTURE_SHARED_SIZE | Brian Paul | 2010-03-20 | 1 | -0/+12 |
| | | |||||
* | | mesa: added missing glGet query for GL_MAX_ARRAY_TEXTURE_LAYERS_EXT | Brian Paul | 2010-03-20 | 2 | -0/+18 |
| | | |||||
* | | mesa: added new GL3 buffer object queries | Brian Paul | 2010-03-20 | 1 | -15/+53 |
| | | | | | | | | And clean up the error checking code. | ||||
* | | mesa: added GL3 buffer attachment aliases | Brian Paul | 2010-03-20 | 1 | -0/+4 |
| | | |||||
* | | mesa: added GL3 ContextFlags field and query code | Brian Paul | 2010-03-20 | 3 | -1/+17 |
| | | |||||
* | | 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 |
| | | |||||
* | | progs/tests: also test stencil INCR_WRAP mode if supported | Brian Paul | 2010-03-18 | 1 | -6/+47 |
| | | |||||
* | | 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. | ||||
* | | progs/tests: comments and clean-ups | Brian Paul | 2010-03-18 | 1 | -11/+21 |
| | | |||||
* | | 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 |