summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-11-07mesa: Clean up header file inclusion in drawtex.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in drawpix.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in depthstencil.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in depth.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in debug.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in convolve.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in colortab.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in buffers.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in blend.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in attrib.h.Vinson Lee
2010-11-07mesa: Clean up header file inclusion in atifragshader.h.Vinson Lee
2010-11-07mesa: make fixed-pt and byte-valued arrays a runtime featureBrian Paul
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.
2010-11-07mesa: remove stray GL_FLOAT case in _mesa_is_legal_format_and_type()Brian Paul
2010-11-07mesa: implement uint texstore codeBrian Paul
We used float temporary images before which could lose precision for uint-valued texture images.
2010-11-07mesa: rename vars in pixel pack/unpack codeBrian Paul
2010-11-07mesa: consolidate pixel packing/unpacking codeBrian Paul
2010-11-07mesa: Clean up header file inclusion in arrayobj.h.Vinson Lee
2010-11-06mesa: Include mfeatures.h in api_validate.c for FEATURE_* symbols.Vinson Lee
2010-11-06mesa: Include mfeatures.h in api_loopback for FEATURE_beginend.Vinson Lee
2010-11-06mesa: Clean up header file inclusion in api_validate.h.Vinson Lee
2010-11-06mesa: Clean up header file inclusion in api_loopback.h.Vinson Lee
2010-11-06mesa: Clean up header file inclusion in version.h.Vinson Lee
2010-11-06mesa: Clean up header file inclusion in accum.h.Vinson Lee
2010-11-06mesa: Fix delayed state flagging for EXT_sso-related program changes.Eric Anholt
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.
2010-11-06meta: Don't try to disable cube maps if the driver doesn't expose the extension.Francisco Jerez
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-11-06vbo: Avoid unnecessary copy to/from current in vertex format upgrade.Francisco Jerez
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 <brianp@vmware.com>
2010-11-04i965: Silence uninitialized variable warning.Vinson Lee
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
2010-11-04i965: Silence uninitialized variable warning.Vinson Lee
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
2010-11-04r300/compiler: Move declaration before code.Vinson Lee
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
2010-11-04r300/compiler: Move declaration before code.Vinson Lee
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
2010-11-04meta: Fix incorrect rendering of the bitmap alpha component.Francisco Jerez
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-11-04meta: Don't leak alpha function/reference value changes.Francisco Jerez
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-11-04st/mesa: Reset the constant buffers before destroying the pipe context.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-03dri/nouveau: Silence uninitialized variable warning.Vinson Lee
Fixes this GCC warning. nouveau_vbo_t.c: In function 'nv10_vbo_render_prims': nouveau_render_t.c:161: warning: 'max_out' may be used uninitialized in this function nouveau_render_t.c:161: note: 'max_out' was declared here
2010-11-03mesa: code to unpack RGBA as uintsBrian Paul
2010-11-03intel: Remove leftover dri1 locking fields in the context.Eric Anholt
2010-11-03intel: Remove duplicated teximage miptree to object miptree promotion.Eric Anholt
intel_finalize_mipmap_tree() does this optimization too, just more aggressively.
2010-11-03intel: Avoid taking logbase2 of several things that we max.Eric Anholt
logbase2(max(width, height, depth)) == max(logbase2(width), logbase2(height), logbase2(depth)), but in 60 bytes less code.
2010-11-03i965: Remove dead intel_structs.h file.Eric Anholt
2010-11-03intel: Remove the magic unaligned memcpy code.Eric Anholt
In testing on Ironlake, the histogram of clocks/pixel results for the system memcpy and magic unaligned memcpy show no noticeable difference (and no statistically significant difference with the 5510 samples taken, though the stddev is large due to what looks like the cache effects from the different texture sizes used).
2010-11-03intel: Annotate debug printout checks with unlikely().Eric Anholt
This provides the optimizer with hints about code hotness, which we're quite certain about for debug printouts (or, rather, while we developers often hit the checks for debug printouts, we don't care about performance while doing so).
2010-11-02mesa: silence new warnings in texobj.cBrian Paul
Silences warning such as: main/texobj.c:442:40: warning: ISO C99 requires rest arguments to be used main/texobj.c:498:58: warning: ISO C99 requires rest arguments to be used
2010-11-02savage: Remove unnecessary header.Vinson Lee
2010-11-02intel: For batch, use GTT mapping instead of writing to a malloc and copying.Eric Anholt
No measurable performance difference on cairo-perf-trace, but simplifies the code and should have cache benefit in general.
2010-11-02mesa: Don't compute an unused texture completeness debug string.Eric Anholt
This showed up at about 1% on cairo-gl firefox-talos-gfx, where glClear() is called while a texture is incomplete.
2010-11-02st/mesa: Reset the index buffer before destroying the pipe context.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-02mesa: Fix C++ includes in sampler.cppChad Versace
Some C++ header files were included in an extern "C" block. When building with Clang, this caused the build to fail due to namespace errors. (GCC did not report any errors.) Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2010-11-02st/mesa: unbind constant buffer when not in useKeith Whitwell
Important as more constant buffers per shader start to get used. Fix up r600 (tested) and nv50 (untested) to cope with this. Drivers previously didn't see unbinds of constant buffers often or ever, so this isn't always dealt with cleanly. For r600 just return and keep the reference. Will try to do better in a followup change.
2010-11-02mesa: fix aux/accum comment and error message mixupsBrian Paul
2010-11-02mesa: remove always-false conditional in check_compatible()Brian Paul
The two gl_config pointers can never be equal.