aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: improve based on review from Jose and fix else clausesZack Rusin2010-03-021-8/+9
| | | | | | else was broken in the outter most else statemants, plus the code didn't need an inverted mask to compute the inverse of the current condition.
* llvmpipe: remove some ifdefsKeith Whitwell2010-03-021-5/+0
| | | | No longer any need to protect expensive asserts with #ifdef DEBUG.
* llvmpipe: reorganize transfer usageKeith Whitwell2010-03-028-324/+379
| | | | | | | | | 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.
* intel: passs correct context type to intel_prepare_render() callBrian Paul2010-03-021-1/+1
|
* i965: include macros.h to get CLAMP macroBrian Paul2010-03-021-0/+1
|
* glx: replace assertion with conditionalBrian Paul2010-03-021-2/+2
| | | | See fd.o bug 26832.
* Merge branch 'gallium-no-rhw-position'Michal Krol2010-03-0231-430/+438
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state_derived.c
| * util/blitter: Fix the viewport transformation for Z coordinatesMarek Olšák2010-03-021-2/+2
| | | | | | | | | | When clearing buffers, the depth is specified in the range [0, 1] and should be passed through blitter "as is".
| * r300: Save viewport and clip states before invoking blitter.Michal Krol2010-03-013-0/+10
| |
| * util: Fix u_blitter setup code after bypass_vs_clip_and_viewport removal.Michal Krol2010-03-012-11/+51
| | | | | | | | Not tested.
| * util: Fix blitter vertex and viewport setup.Michal Krol2010-02-251-6/+21
| |
| * st/mesa: Reset clip state when clearing with quads.Michal Krol2010-02-242-1/+6
| |
| * util: Reset clip state when doing blitting.Michal Krol2010-02-242-1/+11
| |
| * st/mesa: Use cso context to manage clip state.Michal Krol2010-02-241-1/+3
| |
| * cso: Track clip state with cso context.Michal Krol2010-02-242-0/+67
| |
| * gallium: Remove bypass_vs_clip_and_viewport from rasteriser state.Michal Krol2010-02-2225-412/+271
| | | | | | | | Needs testing.
* | i915g: Add assert to check for null pointer dereference.Vinson Lee2010-03-021-0/+1
| |
* | glsl: Add assert to check input to strcmp.Vinson Lee2010-03-021-0/+1
| |
* | mesa: Add asserts to check inputs to memcpy.Vinson Lee2010-03-021-0/+2
| |
* | r600: fix blender picking.Dave Airlie2010-03-021-3/+15
| | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | llvmpipe: implement some control-flowZack Rusin2010-03-011-11/+93
| | | | | | | | | | | | | | 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.
* | glapi: fix compile with ESGeorge Sapountzis2010-03-022-1/+9
| |
* | glapi: Fix syntax.José Fonseca2010-03-011-1/+1
| |
* | radeon: Reduce number of radeon_bo_map calls that require kernel entry.Pauli Nieminen2010-03-011-3/+13
| | | | | | | | | | | | | | | | | | | | 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.
* | Remove now obsolete mesa_bzero symbol.Karl Schultz2010-03-011-1/+0
| |
* | glapi: drop SOLARIS_THREADSGeorge Sapountzis2010-03-017-106/+7
| | | | | | | | It seems that SOLARIS_THREADS is not used and does not work.
* | glapi.c: misc coscmetic for FreeTSDGeorge Sapountzis2010-03-015-24/+50
| | | | | | | | | | | | | | | | - 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
* | glapi.c: misc cosmeticGeorge Sapountzis2010-03-011-28/+33
| | | | | | | | | | mainly, move the multithread check mutex out of the dispatch/context block, closer to where it is used.
* | glapi.c: mv init_glapi_relocs to glapi_getproc.cGeorge Sapountzis2010-03-013-208/+196
| |
* | glapi.c: mv check_table to glapi_getproc.cGeorge Sapountzis2010-03-012-66/+67
| |
* | glapi.c: split check_table to not_null and get_procGeorge Sapountzis2010-03-012-13/+23
| |
* | glapi.h: drop dispatch_override prototypesGeorge Sapountzis2010-03-011-12/+0
| | | | | | | | cannot find them in mesa tree
* | glapi.h: misc cosmeticGeorge Sapountzis2010-03-011-11/+11
| | | | | | | | | | - revert context/dispatch order, similar to glapi.c - stray GL_GLEXT_PROTOTYPES
* | glapi.h: consolidate GET_DISPATCH() and GET_CURRENT_CONTEXT() macrosGeorge Sapountzis2010-03-012-48/+66
| | | | | | | | | | | | | | | | 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
* | tgsi: Cleanup exec code for CLAMP, CMP and CND.Michal Krol2010-03-011-28/+39
| |
* | util: A few more todo marks.José Fonseca2010-03-011-0/+3
| |
* | util: More documentation for u_format.csvJosé Fonseca2010-03-011-0/+57
| |
* | util: Tweak comments regarding R8G8B8A8/X8_UNORM.José Fonseca2010-03-011-2/+2
| |
* | python: Don't mention deprecated drivers=trace option.José Fonseca2010-03-011-0/+4
| | | | | | | | Now trace always built.
* | python: Don't mention deprecated drivers=trace option.José Fonseca2010-03-011-1/+1
| | | | | | | | Now trace always built.
* | llvmpipe: Don't mention deprecated drivers=trace option.José Fonseca2010-03-011-2/+2
| | | | | | | | Now trace always built.
* | progs/gallium: Make a phony target "unit" to run unit tests.José Fonseca2010-03-011-0/+5
| |
* | dri/nouveau: Combine the dummy texture more deterministically on nv0x.Francisco Jerez2010-03-011-1/+4
| |
* | dri/nouveau: Fix up the ADD texture environment on nv0x.Francisco Jerez2010-03-012-2/+1
| |
* | dri/nouveau: Add two stencil operation cases in nv04_state_raster.c.Andrew Randrianasulu2010-03-011-0/+4
| | | | | | | | Signed-off-by: Francisco Jerez <[email protected]>
* | dri/nouveau: Allow to render to XRGB8888 textures.Andrew Randrianasulu2010-03-011-0/+2
| | | | | | | | Signed-off-by: Francisco Jerez <[email protected]>
* | r300g: atomize texture and sampler statesMarek Olšák2010-02-289-135/+153
| |
* | r300g: decouple vertex stream setup (PSC) and VS output mapping (VAP_OUT)Marek Olšák2010-02-287-66/+101
| | | | | | | | | | | | | | | | | | | | | | Formerly known as vertex_format_state. These two are completely unrelated when using HWTCL and decoupling them makes the design less SWTCL-centric. When bypass_vs_clip_and_viewport gets removed, the PSC setup will no longer be a derived state. This change shouldn't make unbreaking SWTCL harder.
* | i965g: Fix texture creationJakob Bornecrantz2010-02-281-1/+1
| |
* | Fixed mklib to properly merge static libraries on darwin.Alex Weiss2010-02-281-2/+10
| | | | | | | | Signed-off-by: Dan Nicholson <[email protected]>