summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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-0526-96/+116
|\ | | | | | | | | | | 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)
| * 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-032-5/+28
| | | | | | | | | | | | | | | | 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]>
| * 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-0541-11/+11
| | | | | | | | | | | | 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-0574-19978/+0
| | | | | | | | | | | | 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]>
* | nv50: support PIPE_FORMAT_X8R8G8B8_UNORMBen Skeggs2009-10-053-0/+12
| | | | | | | | Signed-off-by: Ben Skeggs <[email protected]>
* | nouveau: return pitch value from local_handle_from_texture()Ben Skeggs2009-10-051-0/+1
| | | | | | | | Signed-off-by: Ben Skeggs <[email protected]>
* | mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Ben Skeggs2009-10-051-2/+2
| | | | | | | | Signed-off-by: Ben Skeggs <[email protected]>
* | st/dri: no need to request fake front buffer, only handle it being returnedBen Skeggs2009-10-051-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | The previous behaviour was incorrect, and resulted in EXT_tfp being broken for DDX drivers that implement the correct behaviour (intel/radeon/nouveau). In the cases where a fake front buffer is required, the X server will return one when requesting __DRI_BUFFER_FRONT_LEFT. The Xorg state tracker (aka modesetting_drv) is likely broken now until it's modified to match the other drivers. Signed-off-by: Ben Skeggs <[email protected]>
* | util: Make assert a no-op on non-debug builds.José Fonseca2009-10-041-1/+4
| | | | | | | | | | | | | | | | | | This ensures that an assertion like assert(expensive_test()); won't have any penalty on release builds. It also implies that no vital code should be in assert expressions.
* | llvmpipe: Ensure tile cache transfers are mapped before flushing it.José Fonseca2009-10-043-2/+9
| |
* | llvmpipe: Autogenerate lp_tile_soa.c from u_format.csv.José Fonseca2009-10-047-974/+339
| | | | | | | | | | | | | | | | | | This is just a temporary change until we code generate the tile read/write functions in runtime. The new code avoids an extra memcpy that exists in u_tile.c functions, from which lp_tile_soa.c was originally based. This achieves up to 5% improvement, particularly in frames with little geometry overlap.
* | util: Fix cpuid invocation for x86_64.José Fonseca2009-10-041-11/+23
| |
* | llvmpipe: Remove loop testing from format testing.José Fonseca2009-10-041-6/+0
| | | | | | | | Loop building will be rewritten.
* | llvmpipe: Match header's protection macro with filename.José Fonseca2009-10-041-3/+3
| |
* | llvmpipe: Adjust format assertion.José Fonseca2009-10-041-3/+4
| | | | | | | | We support array layout too -- if it has a single channel.
* | r300g: xRGB and RGBx formats.Corbin Simpson2009-10-043-0/+15
| | | | | | | | | | We now have 48 GLX visuals. Pretty soon, we'll have 90+ visuals, only five of which ever get tested. :3