summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* nv50: get rid of the static_init stateobjChristoph Bumiller2010-03-213-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 helperGeorge Sapountzis2010-03-218-37/+120
|
* dri1_api: need not include drm.hGeorge Sapountzis2010-03-211-1/+1
|
* drm/sw: does not need sw_winsysGeorge Sapountzis2010-03-211-1/+0
|
* drm/sw: llvmpipe texture_from_handleGeorge Sapountzis2010-03-211-0/+1
| | | | Not sure, but judging by softpipe, this hook was forgotten.
* Makefile.template: respect LIBRARY_DEFINES in mkdepGeorge Sapountzis2010-03-211-1/+1
|
* r300g: fix occlusion query hangs.Dave Airlie2010-03-212-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 Airlie2010-03-213-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 checkDave Airlie2010-03-211-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 Wu2010-03-2113-905/+1345
|\
| * st/dri: fix bug in make_currentGeorge Sapountzis2010-03-201-1/+1
| |
| * st/dri: fix bug in allocate_texturesGeorge Sapountzis2010-03-201-1/+1
| |
| * st/dri: Switch from st_public.h to st_api.h.Chia-I Wu2010-03-1810-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 Wu2010-03-185-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 Wu2010-03-185-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 Wu2010-03-183-66/+64
| |
| * st/dri: Move DRI1 bits in dri_drawable.c to dri1.c.Chia-I Wu2010-03-185-319/+336
| |
| * st/dri: Move DRI1 bits in dri_screen.c to dri1.c.Chia-I Wu2010-03-189-82/+173
| |
* | r300g: align misaligned ushort vertex indicesMarek Olšák2010-03-211-1/+29
| |
* | r300g: fix misaligned generated offset for ubyte vertex indicesMarek Olšák2010-03-211-1/+5
| |
* | r300g: split the vertex buffer alignment validationMarek Olšák2010-03-211-22/+29
| |
* | r300g: skip null vertex buffersMarek Olšák2010-03-211-1/+6
| |
* | r300g: Bump immediate limits.Corbin Simpson2010-03-201-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 Simpson2010-03-202-12/+28
| | | | | | | | Still not happy with this, but at least things seem to work.
* | radeong: Use TRUE and FALSE.Corbin Simpson2010-03-201-2/+2
| |
* | radeong: Test the BO ptr for NULL instead of using a bool.Corbin Simpson2010-03-201-8/+4
| | | | | | | | | | Slight memory savings, but more importantly also avoids a potential NULL dereference.
* | r300g: winsys fix tiling change flushes.Dave Airlie2010-03-211-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 Airlie2010-03-211-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 codeBrian Paul2010-03-191-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_texturesRoland Scheidegger2010-03-192-76/+0
| | | | | | | | no longer used after all statetrackers have been converted.
* | st/vega: fix up vega state tracker to use cso changesRoland Scheidegger2010-03-1913-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 pathBrian Paul2010-03-191-0/+1
| |
* | gallium/docs: Clarify sampler view descriptions.Michal Krol2010-03-191-5/+5
| |
* | gallium/docs: Fix a couple ReST errors.Corbin Simpson2010-03-192-1/+2
| |
* | r300g: lod min/max clamping should be relative to the base levelMarek Olšák2010-03-191-3/+3
| |
* | r300g: fix breakage after the gallium-sampler-view mergeMarek Olšák2010-03-193-9/+22
| |
* | r300g: add PIPE_FORMAT_B5G5R5X1_UNORM colorbuffer support, cleanupsMarek Olšák2010-03-191-6/+7
| |
* | r300g: mark SRGB colorbuffers as unsupportedMarek Olšák2010-03-191-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šák2010-03-196-13/+61
| |
* | gallivm: support PIPE_FORMAT_Z24S8_UNORM in depth/stencil codeBrian Paul2010-03-181-3/+18
| |
* | gallivm: fix broken INCR/DECR stencil modesBrian Paul2010-03-181-6/+17
| | | | | | | | We were mistakenly using the wrong data type for stencil values before.
* | gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass throughBrian Paul2010-03-188-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_TESTBrian Paul2010-03-183-20/+27
| |
* | Add format B5G5R5X1Alan Hourihane2010-03-186-0/+84
| |
* | gallivm/llvmpipe: simplify front/back stencil ref value handlingBrian Paul2010-03-186-50/+30
| | | | | | | | Instead of passing an array, just pass two scalar values.
* | gallivm: checkpoint WIP two-sided stencil testBrian Paul2010-03-181-30/+191
| |
* | llvmpipe: set opaque = FALSE if stencil enabledBrian Paul2010-03-181-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é Fonseca2010-03-181-0/+3
|/
* gallivm/llvmpipe: basic stencil testing worksBrian Paul2010-03-172-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 checkBrian Paul2010-03-171-4/+1
|