summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
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-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-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-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-02dri/util: add a bunch of commentsBrian Paul
2010-11-02i965: refresh wm push constant also for BRW_NEW_FRAMENT_PROGRAM on gen6Zhenyu Wang
Fix compiz crash. https://bugs.freedesktop.org/show_bug.cgi?id=31124
2010-11-01r300/compiler: Don't track readers into an IF block.Tom Stellard
This makes rc_get_readers_normal() more conservative than it needs to be, but it fixes some incorrect behavior in the optimization passes.
2010-10-31dri/nouveau: Re-emit the BO state when coming back from a software fallback.Francisco Jerez
2010-10-31dri/nouveau: Validate the framebuffer state on read buffer changes.Francisco Jerez
2010-10-31dri/nouveau: Fix type promotion issue on 32bit platforms.Francisco Jerez
Fixes some VTX protection errors introduced by e89af209261.
2010-10-30r300/compiler: Don't clobber presubtract sources during optimizationsTom Stellard
https://bugs.freedesktop.org/show_bug.cgi?id=28294
2010-10-31dri/nouveau: Pipeline glTexSubImage texture transfers.Francisco Jerez
2010-10-31dri/nouveau: Keep small DYNAMIC_DRAW vertex buffers in system ram.Francisco Jerez
2010-10-31dri/nouveau: Optimize VBO binding re-emission.Francisco Jerez
2010-10-31dri/nouveau: Split out array handling to its own file.Francisco Jerez
2010-10-31dri/nouveau: Use a macro to iterate over the bound vertex attributes.Francisco Jerez
2010-10-31dri/nouveau: Avoid recursion in nouveau_bo_context_reset().Francisco Jerez
2010-10-31dri/nouveau: Split out the scratch helpers to a separate file.Francisco Jerez
2010-10-31dri/nouveau: Tell the vbo module we want real hardware BOs.Francisco Jerez
2010-10-31dri/nouveau: Honor the access flags in nouveau_bufferobj_map_range.Francisco Jerez
2010-10-30dri/nouveau: Call _mesa_update_state() after framebuffer invalidation.Francisco Jerez
Previously nouveau_state_emit() was being called directly, sometimes that doesn't work because it doesn't update the derived GL context.
2010-10-30dri/nv25: Bind a hierarchical depth buffer.Francisco Jerez
2010-10-30dri/nouveau: Don't assert(0) on compressed internal formats.Francisco Jerez
2010-10-30dri/nv20: Clear with the 3D engine.Francisco Jerez
2010-10-30osmesa: fix renderbuffer memleak in OSMesaMakeCurrent()Brian Paul
Fixes fd.o bug 31128.
2010-10-29mesa: Make metaops use program refcounts instead of names.Eric Anholt
Fixes failure on restoring state when the program was active but deleted, and the name no longer exists. Bug #31194
2010-10-29Merge branch 'glapi-reorg'Chia-I Wu
Conflicts: src/mapi/glapi/glapi_sparc.S src/mapi/glapi/glapi_x86.S src/mapi/glapi/glapidispatch.h src/mapi/glapi/glapioffsets.h src/mapi/glapi/glprocs.h
2010-10-28i965: Update the gen6 stencil ref state when stencil state changes.Eric Anholt
Fixes 6 piglit tests about stencil operations.
2010-10-28i965: Upload required gen6 VS push constants even when using pull constants.Eric Anholt
Matches pre-gen6, and fixes glsl-vs-large-uniform-array.
2010-10-28i965: Update gen6 SF state when point state (sprite or attenuation) changes.Eric Anholt
2010-10-28i965: Add user clip planes support to gen6.Eric Anholt
Fixes piglit user-clip, and compiz desktop switching when dragging a window and using just 2 desktops. Bug #30446.
2010-10-27r300/compiler: Use rc_get_readers_normal() for presubtract optimizationsTom Stellard
2010-10-27i965: Add bit operation support to the fragment shader backend.Kenneth Graunke
2010-10-27i965: Make FS uniforms be the actual type of the uniform at upload time.Eric Anholt
This fixes some insanity that would otherwise be required for GLSL 1.30 bit ops or gen6 integer uniform operations in general, at the cost of upload-time pain. Given that we only have that pain because mesa's mangling our integer uniforms to be floats, this something that should be fixed outside of the shader codegen.
2010-10-27intel: Enable GL_EXT_separate_shader_objects in Intel driversIan Romanick
2010-10-27Track separate programs for each stageIan Romanick
The assumption is that all stages are the same program or that varyings are passed between stages using built-in varyings.
2010-10-27Fix build on systems where "python" is python 3.Kenneth Graunke
First, it changes autoconf to use a "python2" binary when available, rather than plain "python" (which is ambiguous). Secondly, it changes the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling python directly. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Matthew William Cox <matt@mattcox.ca> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2010-10-27r600c: add missing radeon_prepare_render() call on evergreenAlex Deucher
2010-10-27r100: revalidate after radeon_update_renderbuffersAlex Deucher
This is a port of 603741a86df0e43c0b52e8c202a35c7fe2fc1d9c to r100. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-10-27glapi: Do not use glapidispatch.h.Chia-I Wu
glapidispatch.h exists so that core mesa (libmesa.a) can be built for DRI drivers or for non-DRI drivers as a compile time decision (whether IN_DRI_DRIVER is defined). It is of no use to glapi. This commit also drops the use of glapidispatch.h in glx and libgl-xlib as they are considered extensions to glapi when it comes to defining public GL entries.
2010-10-26i965: Disable register spilling on gen6 until it's fixed.Eric Anholt
Avoids GPU hang on glsl-fs-convolution-1.
2010-10-26i965: Fix VS URB entry sizing.Eric Anholt
I'm trying to clamp to a minimum of 1 URB row, not a maximum of 1. Fixes: glsl-kwin-blur glsl-max-varying glsl-routing