summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-2114-905/+1346
|\
| * 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/mesa: Set the pipe context of the texture object.Chia-I Wu2010-03-181-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 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
| |
* | r300/compiler: fix assertion failure in the r500-fragprog emission pathMarek Olšák2010-03-211-3/+2
| |
* | 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]>
* | docs: note GL_EXT_packed_float, GL_EXT_shared_exponent extensionsBrian Paul2010-03-201-0/+1
| |
* | mesa: added GL3 query for GL_TEXTURE_SHARED_SIZEBrian Paul2010-03-201-0/+12
| |
* | mesa: added missing glGet query for GL_MAX_ARRAY_TEXTURE_LAYERS_EXTBrian Paul2010-03-202-0/+18
| |
* | mesa: added new GL3 buffer object queriesBrian Paul2010-03-201-15/+53
| | | | | | | | And clean up the error checking code.
* | mesa: added GL3 buffer attachment aliasesBrian Paul2010-03-201-0/+4
| |
* | mesa: added GL3 ContextFlags field and query codeBrian Paul2010-03-203-1/+17
| |
* | 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
| |
* | progs/tests: also test stencil INCR_WRAP mode if supportedBrian Paul2010-03-181-6/+47
| |
* | gallivm: fix broken INCR/DECR stencil modesBrian Paul2010-03-181-6/+17
| | | | | | | | We were mistakenly using the wrong data type for stencil values before.
* | progs/tests: comments and clean-upsBrian Paul2010-03-181-11/+21
| |
* | 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