summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* util: do some more util_blit_pixels cases without temporariesKeith Whitwell2009-10-071-90/+73
| | | | | | When the source surface is pointing at a 2d texture with only one mipmap level, use that directly rather than creating a temporary. Probably want to cover more cases, but this is a start.
* mesa/st: add missing mesa constant file nameKeith Whitwell2009-10-071-10/+11
| | | | | There are many different names for constants in mesa, we were missing one since the ureg rewrite.
* st/mesa: pass pipe_screen, not pipe_context to st_choose_format() functionsBrian Paul2009-10-075-12/+15
| | | | These don't depend on context state, but use a screen pointer.
* st/dri: Add missing front buffer case in dri_get_buffers().Michel Dänzer2009-10-071-0/+4
| | | | | | This seems to help for compiz at least with some drivers. Also add an assert(0) to catch unhandled cases in the future.
* i915g: Use buffer write instead of map for lit verticesJakob Bornecrantz2009-10-071-2/+37
|
* i915g: Change order of buffer_write argumentsJakob Bornecrantz2009-10-072-5/+5
| | | | | | They now follow the pipe_buffer_write style, its the gallium driver that sets the interface not the winsys.
* i915g: Disable vbuf fifo and minor commenting of vbuf codeJakob Bornecrantz2009-10-071-11/+26
| | | | | The vbuf fifo doesn't appear to help once the libdrm reuse flag has been set.
* nv04-nv40: Fix swizzle transfers for NPOT sizes.Younes Manton2009-10-061-113/+34
| | | | | | Workarounds not necessary, SIFM can handle NPOT, we just weren't setting dst dimensions properly. SIFM can't handle odd w,h though, that still needs fixing.
* progs/tests: fix MSVC build.Vinson Lee2009-10-061-1/+1
|
* progs/perf: Fix MSVC build.Vinson Lee2009-10-061-0/+4
|
* r600: r700PredictRenderSize can flush, so move index buffer setup after itAndre Maasikas2009-10-061-1/+1
|
* nv50: fix segfault when there's gaps in enabled texture unitsBen Skeggs2009-10-062-4/+10
| | | | Tested with progs/demos/multiarb.
* nouveau: fix buffer object leakBen Skeggs2009-10-061-1/+4
| | | | Very apparent with resizing windows on DRI2.
* i915g: Add more defines to tweek batchbufferJakob Bornecrantz2009-10-061-13/+28
|
* i915g: Tweek vertexbuffer sizeJakob Bornecrantz2009-10-061-4/+4
|
* i965g: remove 965/brw files from XLIB_WINSYS_SOURCESBrian Paul2009-10-051-3/+0
|
* Merge branch 'mesa_7_6_branch'Brian Paul2009-10-0530-96/+127
|\ | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
| * intel: use driReadDrawable in do_copy_texsubimage()Brian Paul2009-10-051-1/+1
| |
| * intel: use driReadDrawable, not driDrawable in do_blit_readpixels()Brian Paul2009-10-051-2/+2
| |
| * intel: remove a buffer equality test in _mesa_make_current()Brian Paul2009-10-051-33/+27
| | | | | | | | | | | | | | Before, if we called glXMakeCurrent() to change a context's window binding while an FBO was bound, we weren't updating the intel->driDrawable and intel->driReadDrawable fields. This could cause us to dereference a null pointer elsewhere.
| * mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Brian Paul2009-10-051-2/+2
| | | | | | | | | | | | Signed-off-by: Ben Skeggs <[email protected]> (cherry picked from master, commit 7aeaca33c331f70d507fc83583b13b8d9fc3e847)
| * Fix building of GLSL demos which use M_PIJon TURNEY2009-10-053-0/+9
| | | | | | | | | | | | Some <math.h> files do not define M_PI, in which case, provide our own definition Signed-off-by: Jon TURNEY <[email protected]>
| * Use _mesa_select_tex_image() rather than hardcoding face 0.Michel Dänzer2009-10-051-2/+1
| | | | | | | | | | | | | | | | Fixes crash loading a map in sauerbraten with hwmipmap 1 in ~/.sauerbraten/config.cfg.
| * r200: remove subpixel offset from viewportFrederic Crozat2009-10-041-11/+4
| | | | | | | | Fixes bug fdo 20340 for r200.
| * r300: Workaround problem on R500 with very large fragment programsNicolai Hähnle2009-10-033-5/+29
| | | | | | | | | | | | | | | | The non-KMS interface is to blame here. In theory, a proper fix could be produced that works for the KMS interface only, but it require cleaning a lot of mess. Easier to just do it right in r300g. Signed-off-by: Nicolai Hähnle <[email protected]>
| * docs: document default texture binding fixBrian Paul2009-10-021-0/+1
| |
| * mesa: fix incorrect default texture binding in unbind_texobj_from_texunits()Brian Paul2009-10-021-1/+1
| | | | | | | | | | If we deleted a currently bound texture, we were always reverting the texture binding to the default 1D texture rather than the proper default texture.
| * gallium/xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()Brian Paul2009-10-021-2/+2
| | | | | | | | The parameter is a bitmask.
| * 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
| |
| * mesa: fix memory leak when generating mipmaps for compressed texturesBrian Paul2009-10-011-6/+10
| |
| * mesa: fix mem leaksBrian Paul2009-10-011-0/+4
| |
| * gallium/util: silence uninitialized var warningBrian Paul2009-10-011-0/+1
| |
| * mesa: add missing return when out of memoryBrian Paul2009-10-011-0/+1
| |
| * mesa: fix potential uninitialized memory readsBrian Paul2009-10-011-0/+6
| |
| * glsl: fix mem leakBrian Paul2009-10-011-0/+1
| |
| * st/mesa: check for null before asserts, fix possible mem leakBrian Paul2009-10-011-6/+7
| |
| * st/mesa: silence hidden parameter warningBrian Paul2009-10-011-6/+6
| |
| * st/mesa: fix non-mipmap lastLevel calculation.Brian Paul2009-10-011-1/+5
| | | | | | | | | | reviewed by Brian Paul. (cherry picked from master, commit ae2daacbac7242938cffe0e2409071e030e00863)
* | i915g: Drop the simple sufixJakob Bornecrantz2009-10-0544-16/+16
| | | | | | | | | | | | None of the other driver have a silly sufix, so just drop it. Nothing new added in this commit or any other commit but this is better marketing.
* | i965g: Drop i965simpleJakob Bornecrantz2009-10-0575-19979/+1
| | | | | | | | | | | | The driver never work with real hardware and has bitrotted for quite some time now, might as well drop it. If somebody wants to look at it just use git.
* | r300g: fix scons buildJoakim Sindholt2009-10-055-10/+47
| | | | | | | | | | | | So I didn't touch r300compiler, but r300g now compiles after having declarations and code untangled. As nha so gently points out, we shouldn't have to do this just to comply with MSVC compilers.
* | util: Improve the cpuid assembly.José Fonseca2009-10-051-10/+12
| | | | | | | | | | | | No need to save ebx on 64bit. Use just xchgl. Refer to gcc's cpuid.h header. Thanks to Uros Bizjak for pointing this out.
* | mesa: Copy textures' base format into wrapper renderbuffer.José Fonseca2009-10-051-0/+1
| | | | | | | | | | Otherwise st_copy_texsubimage will fallback to software blit due to inconsistent base formats.
* | mesa/st: add ST_DEBUG environment variableKeith Whitwell2009-10-0510-8/+119
| | | | | | | | | | At last it's possible to turn on tgsi dumps and other debugging in the state tracker without modifying sources...
* | util: add lost code to util_make_fragment_tex_shader_writemask()Keith Whitwell2009-10-051-1/+9
| | | | | | | | | | This got ported to ureg at some point, but lost the code that distinguishes it from regular util_make_fragment_tex_shader().
* | r600: update vertex program selection for draw pathAndre Maasikas2009-10-051-5/+35
| |
* | st/dri: avoid segfault if we can't get a pixmap's buffersBen Skeggs2009-10-051-0/+3
| | | | | | | | Signed-off-by: Ben Skeggs <[email protected]>