summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* intel: Fix emit_linear_blit to use DWORD aligned width blitsPeter Clifton2010-11-081-2/+5
| | | | | | | | | | The width of the 2D blits used to copy the data is defined as a 16-bit signed integer, but the pitch must be DWORD aligned. Limit to an integral number of DWORDs, (1 << 15 - 4) rather than (1 << 15 -1). Fixes corruption to data uploaded with glBufferSubData. Signed-off-by: Peter Clifton <[email protected]>
* r600c: properly align mipmaps to group sizeAlex Deucher2010-11-082-4/+7
| | | | | fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31400
* graw: Export graw_save_surface_to_file().Michal Krol2010-11-0811-101/+141
| | | | | | | | | Allows applications to dump surfaces to file without referencing gallium/auxiliary entry points statically. Existing test apps have been modified such that they save the contents of the fronbuffer only when the `-o' option's specified.
* os: Open file streams in binary mode.Michal Krol2010-11-081-1/+1
| | | | Otherwise we'll get garbled data on Windows.
* mesa: Clean up header file inclusion in extensions.h.Vinson Lee2010-11-071-1/+4
|
* mesa: Clean up header file inclusion in enable.h.Vinson Lee2010-11-071-1/+3
|
* mesa: Clean up header file inclusion in drawtex.h.Vinson Lee2010-11-071-1/+2
|
* mesa: Clean up header file inclusion in drawpix.h.Vinson Lee2010-11-071-1/+4
|
* mesa: Clean up header file inclusion in depthstencil.h.Vinson Lee2010-11-071-1/+1
|
* mesa: Clean up header file inclusion in depth.h.Vinson Lee2010-11-071-1/+4
|
* mesa: Clean up header file inclusion in debug.h.Vinson Lee2010-11-071-1/+4
|
* mesa: Clean up header file inclusion in convolve.h.Vinson Lee2010-11-071-3/+4
|
* mesa: Clean up header file inclusion in colortab.h.Vinson Lee2010-11-071-3/+6
|
* mesa: Clean up header file inclusion in buffers.h.Vinson Lee2010-11-071-1/+2
|
* mesa: Clean up header file inclusion in blend.h.Vinson Lee2010-11-071-1/+3
|
* mesa: Clean up header file inclusion in attrib.h.Vinson Lee2010-11-071-3/+5
|
* mesa: Clean up header file inclusion in atifragshader.h.Vinson Lee2010-11-071-1/+6
|
* mesa: make fixed-pt and byte-valued arrays a runtime featureBrian Paul2010-11-072-23/+25
| | | | | | These ES1 features were only tested for in the vertex array code. Checking the ctx->API field at runtime is cleaner than the #ifdef stuff and supports choosing the API at runtime.
* mesa: remove stray GL_FLOAT case in _mesa_is_legal_format_and_type()Brian Paul2010-11-071-1/+0
|
* mesa: implement uint texstore codeBrian Paul2010-11-071-24/+127
| | | | | We used float temporary images before which could lose precision for uint-valued texture images.
* mesa: rename vars in pixel pack/unpack codeBrian Paul2010-11-071-403/+397
|
* mesa: consolidate pixel packing/unpacking codeBrian Paul2010-11-071-397/+244
|
* mesa: Clean up header file inclusion in arrayobj.h.Vinson Lee2010-11-071-1/+3
|
* r600g: Mention AMD in the renderer string.Henri Verbeet2010-11-071-18/+18
|
* mesa: Include mfeatures.h in api_validate.c for FEATURE_* symbols.Vinson Lee2010-11-061-0/+1
|
* mesa: Include mfeatures.h in api_loopback for FEATURE_beginend.Vinson Lee2010-11-061-0/+1
|
* mesa: Clean up header file inclusion in api_validate.h.Vinson Lee2010-11-061-1/+4
|
* mesa: Clean up header file inclusion in api_loopback.h.Vinson Lee2010-11-061-1/+4
|
* mesa: Clean up header file inclusion in version.h.Vinson Lee2010-11-061-1/+1
|
* mesa: Clean up header file inclusion in accum.h.Vinson Lee2010-11-061-1/+4
|
* mesa: Fix delayed state flagging for EXT_sso-related program changes.Eric Anholt2010-11-061-18/+5
| | | | | | | Flushing the vertices after having already updated the state doesn't do any good. Fixes useshaderprogram-flushverts-1. As a side effect, by moving it to the right place we end up skipping no-op state changes for traditional glUseProgram.
* meta: Don't try to disable cube maps if the driver doesn't expose the extension.Francisco Jerez2010-11-061-1/+2
| | | | Signed-off-by: Brian Paul <[email protected]>
* vbo: Avoid unnecessary copy to/from current in vertex format upgrade.Francisco Jerez2010-11-062-48/+63
| | | | | | | | | | | | | | | | | Rebuilding the vertex format from scratch every time we see a new vertex attribute is rather costly, new attributes can be appended at the end avoiding a copy to current and then back again, and the full attr pointer recalculation. In the not so likely case of an already existing attribute having its size increased the old behavior is preserved, this could be optimized more, not sure if it's worth it. It's a modest improvement in FlightGear (that game punishes the VBO module pretty hard in general, framerate goes from some 46 FPS to 50 FPS with the nouveau classic driver). Signed-off-by: Brian Paul <[email protected]>
* scons: Unify state tracker SConscriptsJakob Bornecrantz2010-11-054-22/+31
|
* scons: Move dependancy checks to the main gallium scons fileJakob Bornecrantz2010-11-057-75/+69
|
* scons: Check for libdrm_[intel|radeon] as wellJakob Bornecrantz2010-11-051-15/+25
| | | | | And run SConscripts if they are present. Also make dri depend on both drm and x11.
* scons: DetabifyJakob Bornecrantz2010-11-059-123/+122
| | | | Drivers scons files for a later time
* scons: Remove old pipebuffer SConscriptJakob Bornecrantz2010-11-051-18/+0
|
* softpipe: disable vertex texturing with draw/llvmBrian Paul2010-11-051-0/+5
| | | | | This is a temporary work around to prevent crashes with glean/glsl1 (for example) which try to do vertex shader texturing.
* gallivm: add const qualifiers, fix comment stringBrian Paul2010-11-051-4/+4
|
* gallivm: alloca() was called too often for temporary arraysBrian Paul2010-11-051-0/+2
| | | | | | Need to increment the array index to point to the last value. Before, we were calling lp_build_array_alloca() over and over for no reason.
* i965: Silence uninitialized variable warning.Vinson Lee2010-11-041-1/+1
| | | | | | | Silences this GCC warning. brw_wm_fp.c: In function 'brw_wm_pass_fp': brw_wm_fp.c:966: warning: 'last_inst' may be used uninitialized in this function brw_wm_fp.c:966: note: 'last_inst' was declared here
* i965: Silence uninitialized variable warning.Vinson Lee2010-11-041-1/+1
| | | | | | Silences this GCC warning. brw_wm_fp.c: In function 'precalc_tex': brw_wm_fp.c:666: warning: 'tmpcoord.Index' may be used uninitialized in this function
* r300/compiler: Move declaration before code.Vinson Lee2010-11-041-5/+6
| | | | | | Fixes this GCC warning with linux-x86 build. radeon_dataflow.c: In function 'get_readers_normal_read_callback': radeon_dataflow.c:472: warning: ISO C90 forbids mixed declarations and code
* llvmpipe: added some debug assertions, but disabledBrian Paul2010-11-041-0/+10
|
* r300/compiler: Move declaration before code.Vinson Lee2010-11-041-2/+3
| | | | | | Fixes this GCC warning with linux-x86 build. radeon_pair_schedule.c: In function 'merge_presub_sources': radeon_pair_schedule.c:312: warning: ISO C90 forbids mixed declarations and code
* meta: Fix incorrect rendering of the bitmap alpha component.Francisco Jerez2010-11-041-3/+9
| | | | Signed-off-by: Brian Paul <[email protected]>
* meta: Don't leak alpha function/reference value changes.Francisco Jerez2010-11-041-0/+5
| | | | Signed-off-by: Brian Paul <[email protected]>
* tgsi: remove unused functionBrian Paul2010-11-041-11/+0
|
* st/mesa: Reset the constant buffers before destroying the pipe context.Tilman Sauerbeck2010-11-041-0/+5
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>