summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-03-21Makefile.template: respect LIBRARY_DEFINES in mkdepGeorge Sapountzis
2010-03-21rename dri_sw to drisw_util for consistencyGeorge Sapountzis
2010-03-21dri_inteface: add define for checking presence of drm.hGeorge Sapountzis
__NOT_HAVE_DRM_H is a like a feature, defined by default on specific platforms and allows to be defined externally as well. __NOT_HAVE_DRM_H should only be used by xserver and mesa swrast_dri drivers
2010-03-21glx: minor cosmeticGeorge Sapountzis
2010-03-21glx: swapBuffers prototype has changedGeorge Sapountzis
2010-03-21dri/nouveau: Reemit the light model state when lighting goes on/off.Francisco Jerez
2010-03-21dri/nouveau: Random cleanups.Francisco Jerez
2010-03-21r300g: fix occlusion query hangs.Dave Airlie
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 <airlied@redhat.com>
2010-03-21r300g: add bufmgr cached for vertex/index buffers.Dave Airlie
This adds the cached bufmgr for vertex/index buffers on top of the kernel manager. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21gallium: cached bufmgr add map busy checkDave Airlie
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 <airlied@redhat.com>
2010-03-21Merge remote branch 'origin/gallium-st-api-dri'Chia-I Wu
2010-03-21r300g: align misaligned ushort vertex indicesMarek Olšák
2010-03-21r300g: fix misaligned generated offset for ubyte vertex indicesMarek Olšák
2010-03-21r300g: split the vertex buffer alignment validationMarek Olšák
2010-03-21r300g: skip null vertex buffersMarek Olšák
2010-03-21r300/compiler: fix assertion failure in the r500-fragprog emission pathMarek Olšák
2010-03-20r300g: Bump immediate limits.Corbin Simpson
Seems like a decent idea, especially since the big barrier now is getting the VBOs back from the VRAM boundary.
2010-03-20r300g: Correctly hax max_index on pipe_vertex_buffers.Corbin Simpson
Still not happy with this, but at least things seem to work.
2010-03-20radeong: Use TRUE and FALSE.Corbin Simpson
2010-03-20radeong: Test the BO ptr for NULL instead of using a bool.Corbin Simpson
Slight memory savings, but more importantly also avoids a potential NULL dereference.
2010-03-21r300g: winsys fix tiling change flushes.Dave Airlie
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 <airlied@redhat.com>
2010-03-21r300g: add buffer/texture referenced checks.Dave Airlie
I've no idea about the comments that were in there, just pass this down to the winsys. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-20mesa: added GL3 query for GL_TEXTURE_SHARED_SIZEBrian Paul
2010-03-20mesa: added missing glGet query for GL_MAX_ARRAY_TEXTURE_LAYERS_EXTBrian Paul
2010-03-20mesa: added new GL3 buffer object queriesBrian Paul
And clean up the error checking code.
2010-03-20mesa: added GL3 buffer attachment aliasesBrian Paul
2010-03-20mesa: added GL3 ContextFlags field and query codeBrian Paul
2010-03-20st/dri: fix bug in make_currentGeorge Sapountzis
2010-03-20st/dri: fix bug in allocate_texturesGeorge Sapountzis
2010-03-19gallivm: simplify and clean-up Z/stencil bit mask/shift codeBrian Paul
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.
2010-03-19cso: remove cso_set/save/restore_sampler_texturesRoland Scheidegger
no longer used after all statetrackers have been converted.
2010-03-19st/vega: fix up vega state tracker to use cso changesRoland Scheidegger
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.
2010-03-19es: added -I$(TOP)/include pathBrian Paul
2010-03-19gallium/docs: Clarify sampler view descriptions.Michal Krol
2010-03-19gallium/docs: Fix a couple ReST errors.Corbin Simpson
2010-03-19r300g: lod min/max clamping should be relative to the base levelMarek Olšák
2010-03-19r300g: fix breakage after the gallium-sampler-view mergeMarek Olšák
2010-03-19r300g: add PIPE_FORMAT_B5G5R5X1_UNORM colorbuffer support, cleanupsMarek Olšák
2010-03-19r300g: mark SRGB colorbuffers as unsupportedMarek Olšák
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.
2010-03-19r300g: add generating texture coordinates for point sprites (WIP)Marek Olšák
2010-03-18gallivm: support PIPE_FORMAT_Z24S8_UNORM in depth/stencil codeBrian Paul
2010-03-18gallivm: fix broken INCR/DECR stencil modesBrian Paul
We were mistakenly using the wrong data type for stencil values before.
2010-03-18gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass throughBrian Paul
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...
2010-03-18llvmpipe: defines for RAST_WHOLE, RAST_EDGE_TESTBrian Paul
2010-03-18Add format B5G5R5X1Alan Hourihane
2010-03-18gallivm/llvmpipe: simplify front/back stencil ref value handlingBrian Paul
Instead of passing an array, just pass two scalar values.
2010-03-18gallivm: checkpoint WIP two-sided stencil testBrian Paul
2010-03-18llvmpipe: set opaque = FALSE if stencil enabledBrian Paul
Fixes occasional bad tiles seen in some demos like progs/demos/reflect.c
2010-03-18dri/nouveau: Flush after texture validation.Francisco Jerez
Swizzling needs the destination surface in VRAM, but the subsequent rendering operations making use of it are likely to not care. Fire the ring after validation to leave the memory manager more room for maneuvering.
2010-03-18dri/nouveau: Avoid pushbuf flushes in the middle of LMA setup.Francisco Jerez