summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2010-11-09i965: Allow OPCODE_SWZ to put immediates in the first arg.Eric Anholt
Fixes assertion failure with texture swizzling in the GLSL path when it's triggered (such as gen6 FF or ARB_fp shadow comparisons). Fixes: texdepth texSwizzle fp1-DST test fp1-LIT test 3
2010-11-09intel: Add assert check for blitting alignment.Peter Clifton
Also fixup code comment to reflect that the GPU requires DWORD alignment, but in this case does not actually pass the value "in DWORDs" as I previously stated.
2010-11-09Revert "intel: Fix the client-side swapbuffers throttling."Eric Anholt
This reverts commit 76360d6abc9e0195bc5c373101ae616e68b2e6e6. On second thought, it turned out that sync objects also used the wait_rendering API like this, and would need the same treatment, and so wait_rendering itself is fixed in libdrm now.
2010-11-09intel: Fix the client-side swapbuffers throttling.Eric Anholt
We were asking for a wait to GTT read (all GPU rendering to it complete), instead of asking for all GPU reading from it to be complete. Prevents swapbuffers-based apps from running away with rendering, and produces a better input experience.
2010-11-08radeon: Implement GL_OES_EGL_imageJohann Rudloff
agd5f: add support to radeon/r200/r300 as well
2010-11-08radeon: Implement __DRI_IMAGE and EGL_MESA_image_drmJohann Rudloff
2010-11-08radeon: Implement EGL_MESA_no_surface_extensionJohann Rudloff
2010-11-08mesa/r300classic: Fix dri2Invalidate/radeon_prepare_render for page flipping.Mario Kleiner
A call to radeon_prepare_render() at the beginning of draw operations was placed too deep in the call chain, inside r300RunRenderPrimitive(), instead of r300DrawPrims() where it belongs. This leads to emission of stale target color renderbuffer into the cs if bufferswaps via page-flipping are used, and thereby causes massive rendering corruption due to unsynchronized rendering into the active frontbuffer. This patch fixes such problems for use with the upcoming radeon page-flipping patches. Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-11-08intel: Fix emit_linear_blit to use DWORD aligned width blitsPeter Clifton
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 <pcjc2@cam.ac.uk>
2010-11-08r600c: properly align mipmaps to group sizeAlex Deucher
fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31400
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-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-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.