summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-03-02llvmpipe: remove some ifdefsKeith Whitwell
No longer any need to protect expensive asserts with #ifdef DEBUG.
2010-03-02llvmpipe: reorganize transfer usageKeith Whitwell
Move transfer creation and mapping to the "scene" object, and out of the rasterizer. The rasterizer operates on already-mapped framebuffers only, and no longer needs a screen or context pointer. The scene object has access to a pipe_context, and this reorg prepares for moving transfer functionality from the screen to the context.
2010-03-02intel: passs correct context type to intel_prepare_render() callBrian Paul
2010-03-02i965: include macros.h to get CLAMP macroBrian Paul
2010-03-02glx: replace assertion with conditionalBrian Paul
See fd.o bug 26832.
2010-03-02Merge branch 'gallium-no-rhw-position'Michal Krol
Conflicts: src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state_derived.c
2010-03-02util: Tweak comment for D3D10-like formats.José Fonseca
2010-03-02gdi: Rename pipe formats.José Fonseca
2010-03-02drm/nouveau: Rename pipe formats.José Fonseca
2010-03-02svga: Rename pipe formats.José Fonseca
2010-03-02softpipe: Rename pipe formats.José Fonseca
2010-03-02r300: Rename pipe formats.José Fonseca
2010-03-02util/blitter: Fix the viewport transformation for Z coordinatesMarek Olšák
When clearing buffers, the depth is specified in the range [0, 1] and should be passed through blitter "as is".
2010-03-02i915g: Add assert to check for null pointer dereference.Vinson Lee
2010-03-02glsl: Add assert to check input to strcmp.Vinson Lee
2010-03-02mesa: Add asserts to check inputs to memcpy.Vinson Lee
2010-03-02r600: fix blender picking.Dave Airlie
This fixes the sw fallback for GL_SELECT picking modes. Fixes object picking blender + depthpick test http://bugs.freedesktop.org/show_bug.cgi?id=26419 Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-01llvmpipe: implement some control-flowZack Rusin
implements if/else/endif constructs and lays down the code for looping and others. we create a conditional execution mask which decides which of the four inputs are enabled for any store. it's used only if an execution mask is present, otherwise we go through a direct store.
2010-03-02glapi: fix compile with ESGeorge Sapountzis
2010-03-01glapi: Fix syntax.José Fonseca
2010-03-01radeon: Reduce number of radeon_bo_map calls that require kernel entry.Pauli Nieminen
DMA buffers are often remapped many times for singel cs. To reduce number of mapping calls ending to kernel dma buffers are mapped when allocated and unmapped when full or in cs flush. This makes indifual mapping calls in other parts of code simple increment/decrement reference count which is faster than entering kernel. This improves Anholt's openarena benchmark from 36 fps to 44 fps.
2010-03-01Remove now obsolete mesa_bzero symbol.Karl Schultz
2010-03-01glapi: drop SOLARIS_THREADSGeorge Sapountzis
It seems that SOLARIS_THREADS is not used and does not work.
2010-03-01glapi.c: misc coscmetic for FreeTSDGeorge Sapountzis
- move out of of the dispatch/context block to after corresponding init functions - use more consistent naming with corresponding init functions - XXX use _glthread_InitTSD() vs (void)_glthread_GetTSD() in _glapi_check_multithread() XXX
2010-03-01glapi.c: misc cosmeticGeorge Sapountzis
mainly, move the multithread check mutex out of the dispatch/context block, closer to where it is used.
2010-03-01glapi.c: mv init_glapi_relocs to glapi_getproc.cGeorge Sapountzis
2010-03-01glapi.c: mv check_table to glapi_getproc.cGeorge Sapountzis
2010-03-01glapi.c: split check_table to not_null and get_procGeorge Sapountzis
2010-03-01glapi.h: drop dispatch_override prototypesGeorge Sapountzis
cannot find them in mesa tree
2010-03-01glapi.h: misc cosmeticGeorge Sapountzis
- revert context/dispatch order, similar to glapi.c - stray GL_GLEXT_PROTOTYPES
2010-03-01glapi.h: consolidate GET_DISPATCH() and GET_CURRENT_CONTEXT() macrosGeorge Sapountzis
Use likely() macro, as this is what most projects use. Drops GL_CALL define, cannot find it in mesa tree. Also, whitespace cleaunps in glthread.h
2010-03-01nouveau: Rename pipe formats.José Fonseca
2010-03-01llvmpipe: Rename pipe formats.José Fonseca
2010-03-01i965: Rename pipe formats.José Fonseca
2010-03-01i915g: Rename pipe formats.José Fonseca
2010-03-01cell: Rename pipe formats.José Fonseca
2010-03-01python: Rename pipe formats.José Fonseca
2010-03-01vega: Rename pipe formats.José Fonseca
2010-03-01wgl: Rename pipe formats.José Fonseca
2010-03-01xorg: Rename pipe formats.José Fonseca
2010-03-01glx: Rename pipe formats.José Fonseca
2010-03-01egl: Rename pipe formats.José Fonseca
2010-03-01dri: Rename pipe formats.José Fonseca
2010-03-01mesa: Rename pipe formats.José Fonseca
2010-03-01translate: Rename pipe formats.José Fonseca
2010-03-01draw: Rename pipe formats.José Fonseca
2010-03-01util: Rename pipe formats.José Fonseca
2010-03-01gallium: Standardize on the LSB->MSB notation.José Fonseca
Less confusing, and seems to gather more consensus. Below are the sed commands used. This and following commits are the result of applying this too to the whole tree, plus manual whitespaces fixes. s/\<PIPE_FORMAT_A8R8G8B8_UNORM\>/ASDGFSJKDGSDFGSJDFGREKT/g s/\<PIPE_FORMAT_B8G8R8A8_UNORM\>/PIPE_FORMAT_A8R8G8B8_UNORM/g s/\<ASDGFSJKDGSDFGSJDFGREKT\>/PIPE_FORMAT_B8G8R8A8_UNORM/g s/\<PIPE_FORMAT_X8R8G8B8_UNORM\>/ASDGFSJKDGSDFGSJDFGREKT/g s/\<PIPE_FORMAT_B8G8R8X8_UNORM\>/PIPE_FORMAT_X8R8G8B8_UNORM/g s/\<ASDGFSJKDGSDFGSJDFGREKT\>/PIPE_FORMAT_B8G8R8X8_UNORM/g s/\<PIPE_FORMAT_R8G8B8A8_UNORM_REV\>/PIPE_FORMAT_A8B8G8R8_UNORM/g s/\<PIPE_FORMAT_R8G8B8X8_UNORM\>/PIPE_FORMAT_X8B8G8R8_UNORM/g s/\<PIPE_FORMAT_A1R5G5B5_UNORM\>/PIPE_FORMAT_B5G5R5A1_UNORM/g s/\<PIPE_FORMAT_A4R4G4B4_UNORM\>/PIPE_FORMAT_B4G4R4A4_UNORM/g s/\<PIPE_FORMAT_R5G6B5_UNORM\>/PIPE_FORMAT_B5G6R5_UNORM/g s/\<PIPE_FORMAT_A2B10G10R10_UNORM\>/PIPE_FORMAT_R10G10B10A2_UNORM/g s/\<PIPE_FORMAT_A8L8_UNORM\>/PIPE_FORMAT_L8A8_UNORM/g s/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AT_Z24X8_UNORM/g s/\<PIPE_FORMAT_YCBCR\>/PIPE_FORMAT_UYVY/g s/\<PIPE_FORMAT_YCBCR_REV\>/PIPE_FORMAT_YUYV/g
2010-03-01r300: Remove PIPE_FORMAT_A8B8G8R8_SNORM.José Fonseca
PIPE_FORMAT_R8G8B8A8_SNORM already listed.
2010-03-01softpipe: Advertise PIPE_FORMAT_R8G8B8A8_SNORM instead.José Fonseca