summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* draw: Fix memory leak.Vinson Lee2009-10-271-0/+2
| | | | This would only be hit if we got and invalid index_size.
* cell: fix compilation on cellMarc Dietrich2009-10-201-2/+2
| | | | s/LERP/LRP/
* softpipe: revert 564df9dc5f6335eb8dc68f3c69cf054d2142663cBrian Paul2009-10-101-1/+6
| | | | | | | | | | This change silenced valgrind warnings but broke progs/tests/drawbuffers. The problem is we don't know the surface's state when we start caching it (it may or may not be initialized/cleared/etc). So "clearing" it here was presumptuous. Leaving the code in place (but disabled) for reference and when using valgrind. Fixes bug 24401
* gallium/xlib: call XQueryExtension() in glXQueryExtension()Brian Paul2009-10-071-4/+6
| | | | See bug 24321.
* gallium/xlib: fix glXQueryDrawable() bugs, see bug 24320Brian Paul2009-10-073-13/+34
|
* gallium/xlib: return 0 for errorBase, eventBase in glXQueryExtension()Brian Paul2009-10-071-3/+5
| | | | | A little better than leaving the values undefined, I think. See bug 24321.
* gallium/xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()Brian Paul2009-10-021-2/+2
| | | | The parameter is a bitmask.
* gallium/xlib: return GLX_RGBA_BIT or GLX_COLOR_INDEX_BIT in get_config()Brian Paul2009-10-021-2/+2
| | | | This reverts part of commit a6b84aef4ad3a7bac40704146a98977c62bfb6e8
* gallium: replace // comments with /* */Brian Paul2009-10-029-11/+11
|
* gallium: remove // comment and extra whitespaceBrian Paul2009-10-021-7/+0
|
* gallium/util: silence uninitialized var warningBrian Paul2009-10-011-0/+1
|
* gallium/xlib: fix GLX_RENDER_TYPE queryBrian Paul2009-09-291-4/+4
| | | | Return GLX_RGBA_TYPE or GLX_COLOR_INDEX_TYPE.
* softpipe: initialize the clear_flags bitvector in sp_create_tile_cache()Brian Paul2009-09-291-0/+5
| | | | | This silences tons of valgrind warnings in programs that don't call glClear(), such as progs/demos/gamma.
* softpipe: Grab a ref when the fb is set.Brian Paul2009-09-292-4/+9
| | | | | | | | | | | | Nasty bug when the surface is freed and another is allocated right on top of it. The next time we set the fb state SP thinks it's the same surface and doesn't flush, and when the flush eventually happens the surface belongs to a completely different texture. (cherry picked from commit a77226071f6814a53358a5d6caff685889d0e4ec) Conflicts: src/gallium/drivers/softpipe/sp_context.c
* Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-281-0/+11
|\
| * gallium/util: add sanity check assertionsBrian Paul2009-09-281-0/+11
| |
* | Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-241-1/+1
|\|
| * softpipe: Increase GL_MAX_3D_TEXTURE_SIZE to 256.Vinson Lee2009-09-241-1/+1
| |
* | tgsi/sse: Pass the lodbias, not zero. More comments.Brian Paul2009-09-241-5/+5
| | | | | | | | This fixes the glean/glsl1 "texture2D(), with bias" test when using SSE.
* | softpipe: added max texture/surface size sanity checkBrian Paul2009-09-231-0/+6
| |
* | softpipe: increase MAX_WIDTH/HEIGTH 4096 to match max texture sizeBrian Paul2009-09-231-2/+2
| |
* | Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-211-2/+2
|\|
| * softpipe: Fix cube face selection.Brian Paul2009-09-211-2/+2
| | | | | | | | | | | | | | If arx and ary are equal, we still want to choose from one of them, and not arz. (cherry picked from commit de685b37a91bc95dd4093a44a49b7b47385b1f7c)
* | gallium: Add Mac OS to pipe/p_thread.h.Vinson Lee2009-09-141-5/+5
| | | | | | | | Mac OS also has POSIX threads.
* | llvmpipe: asst fixes for 'make linux-llvmpipe'Brian Paul2009-09-113-0/+6
| |
* | Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-101-1/+3
|\|
| * softpipe: minor indentation fixBrian Paul2009-09-101-1/+1
| |
| * softpipe: set dirty_render_cache in softpipe_clear()Brian Paul2009-09-101-0/+2
| | | | | | | | | | | | | | This fixes a bug seen when doing a glDrawPixels(GL_STENCIL_INDEX) right after a glClear(). The check-for-flush test was failing because we didn't set the dirty_render_cache flag in softpipe_clear(). So we saw stale data when we mapped the stencil buffer.
* | tgsi: use new tgsi_call_record to handle execution mask stacksBrian Paul2009-09-102-14/+43
| | | | | | | | This fixes some issues when "return"ing from nested loops/conditionals.
* | gallium: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h.Vinson Lee2009-09-101-1/+1
| | | | | | | | Fixes typo from commit c6c44bf48124dd5b4661014a8d58482c5a54557f.
* | Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-091-2/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile configs/default progs/glsl/Makefile src/gallium/auxiliary/util/u_simple_shaders.c src/gallium/state_trackers/glx/xlib/xm_api.c src/mesa/drivers/dri/i965/brw_draw_upload.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/intel/intel_context.h src/mesa/drivers/dri/intel/intel_pixel.c src/mesa/drivers/dri/intel/intel_pixel_read.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
| * gallium/xlib: silence unitialized var warningBrian Paul2009-09-031-1/+1
| |
| * gallium/xlib: silence uninitialized var warningBrian Paul2009-09-031-1/+1
| |
| * util: add version of u_blit_pixels which takes a writemaskKeith Whitwell2009-09-024-15/+100
| | | | | | | | Values outside the writemask are set in the destination to {0,0,0,1}
| * draw: remove unused variableKeith Whitwell2009-09-021-1/+0
| |
* | gallium: Added HaikuOS platformaljen2009-09-099-19/+31
| |
* | gallium/xlib: minor clean-upsBrian Paul2009-09-041-14/+5
| |
* | i915g: Fix warnings in scons build by using byte pointersJakob Bornecrantz2009-09-041-2/+2
| | | | | | | | scons build complained about void pointer math
* | tgsi: Document differencies between vs_1_1 and vs_2_0 for EXPP and LOGP.Michal Krol2009-09-041-2/+12
| |
* | gallium/xlib: silence unitialized var warningBrian Paul2009-09-031-1/+1
| |
* | gallium/xlib: silence uninitialized var warningBrian Paul2009-09-031-1/+1
| |
* | util: add version of u_blit_pixels which takes a writemaskKeith Whitwell2009-09-034-15/+69
| | | | | | | | Values outside the writemask are set in the destination to {0,0,0,1}
* | st/xorg: add linear and radial gradient accelerationZack Rusin2009-09-031-20/+71
| |
* | st/xorg: radial gradient shaderZack Rusin2009-09-031-0/+85
| |
* | st/xorg: linear gradient shaderZack Rusin2009-09-031-0/+59
| |
* | i915g: Up the number of relocsJakob Bornecrantz2009-09-031-1/+1
| |
* | i915g: Don't run in sync with HWJakob Bornecrantz2009-09-031-4/+7
| |
* | i915g: Don't send flush flags to HWJakob Bornecrantz2009-09-031-0/+8
| |
* | st/xorg: cleanup and adjust to the changes in the ureg codeZack Rusin2009-09-031-3/+3
| |
* | st/xorg: adjust enums in preperation for gradientsZack Rusin2009-09-032-7/+15
| |