summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-02-26glx: Adjust the MESA_multithread_makecurrent spec to match implementation.Eric Anholt
This came out of discussion at the office today, and we agreed that solving this for indirect wasn't really interesting, though the server-side change would be of a similar level of difficulty.
2011-02-26intel: Use the current context rather than last bound context for a drawable.Eric Anholt
If another thread bound a context to the drawable then unbound it, the driContextPriv would end up NULL. With the previous two fixes, this fixes glx-multithread-makecurrent-2, despite the issue not being about the multithreaded makecurrent.
2011-02-26dri2: Don't call the dri2 flush hook for swapbuffers unless we have a context.Eric Anholt
The driver only has one reasonable place to look for its context to flush anything, which is the current context. Don't bother it with having to check.
2011-02-26glx: Don't do the implicit glFlush in SwapBuffers if it's the wrong drawable.Eric Anholt
The GLX Spec says you only implicitly glFlush if the drawable being swapped is the current context's drawable.
2011-02-26mesa: Add new MESA_multithread_makecurrent extension.Eric Anholt
This extension allows a client to bind one context in multiple threads simultaneously. It is then up to the client to manage synchronization of access to the GL, just as normal multithreaded GL from multiple contexts requires synchronization management to shared objects.
2011-02-26i915g: make dynamic state emission actually lazyDaniel Vetter
Premature semicolon. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-26gallivm: Initialize stack valuesJakob Bornecrantz
valgrind gives me a warning with llvmpipe with profile builds but not debug builds, this seems to fix the issue at least.
2011-02-26glsl/Makefile: Remove builtin_function.cpp if generation fails.Arkadiusz Miskiewicz
Fixes bug #34346. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2011-02-26i915g: Handle null constants properlyJakob Bornecrantz
2011-02-26i915g: fix null deref in draw_rect emissionDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-26i915g: simplify math in constants emissionDaniel Vetter
The old code even falls apart for nr == 0 (which is caught earlier, but)! Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-26i915g: Use the same debug env vars in drm and sw winsysJakob Bornecrantz
2011-02-26i915g: Use unchecked writes in sw winsys batchbufferJakob Bornecrantz
2011-02-26Check for out of memory when creating fenceAlan Hourihane
2011-02-26util: Don't destroy shaders null shadersJakob Bornecrantz
Fixes regression from a08e612fd8e7ca2ac2fef8961e56e5b094033717
2011-02-26util: Don't create array texture shaders if the driver doesn't support itJakob Bornecrantz
2011-02-25i965/fs: Initial plumbing to support TXD.Kenneth Graunke
This adds the opcode and the code to convert ir_txd to OPCODE_TXD; it doesn't actually add support yet.
2011-02-25i965/fs: Complete TXL support on gen5+.Kenneth Graunke
Initial plumbing existed to turn the ir_txl into OPCODE_TXL, but it was never handled.
2011-02-25i965/fs: Complete TXL support on gen4.Kenneth Graunke
Initial plumbing existed to turn the ir_txl into OPCODE_TXL, but it was never handled.
2011-02-25i965/fs: Use a properly named constant in TXB handling.Kenneth Graunke
The old value, BRW_SAMPLER_MESSAGE_SIMD8_SAMPLE makes it sound like we're doing a non-bias texture lookup. It has the same value as the new constant BRW_SAMPLER_MESSAGE_SIMD8_SAMPLE_BIAS_COMPARE, so there should be no functional changes.
2011-02-25i965: Add #defines for gen4 SIMD8 TXB/TXL with shadow comparison.Kenneth Graunke
From volume 4, page 161 of the public i965 documentation.
2011-02-25gallium/tgsi: shuffle ureg_src structure to work around gcc4.6.0 issueJerome Glisse
There is an issue with gcc 4.6.0 that leads to segfault/assert with mesa due to ureg_src size, reshuffling the structure member to better better alignment work around the issue. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47893 7.9 + 7.10 candidate Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-02-25gallium/st: place value check before value is useJerome Glisse
7.9 & 7.10 candidate Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-02-25gallium/util: add 1d/2d mipmap generation supportDave Airlie
so far only hw mipmap generation is testing on softpipe, passes test added to piglit. this requires another patch to mesa to let array textures mipmaps even start to happen.
2011-02-24scons: Reduce all Cygwin platform names to 'cygwin'.Vinson Lee
platform.system in SCons on Cygwin includes the OS version number. Windows XP - CYGWIN_NT-5.1 Windows Vista - CYGWIN_NT-6.0 Windows 7 - CYGWIN_NT-6.1 Reduce all Cygwin platform variants to just 'cygwin' so anything downstream can simply use 'cygwin' instead of the different full platform names.
2011-02-25r600g: explicity set sign bits for RGTCDave Airlie
2011-02-25r600g: bc 4/5 or rgtc textures need to be tiled as well.Dave Airlie
Make the s3tc upload code more generic. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-25r300g: explicit sign bits on RGTC texturesDave Airlie
2011-02-24i965: Increase Sandybridge point size clamp in the clip state.Kenneth Graunke
255.875 matches the hardware documentation. Presumably this was a typo. NOTE: This is a candidate for the 7.10 branch, along with commit 2bfc23fb86964e4153f57f2a56248760f6066033. Reviewed-by: Eric Anholt <eric@anholt.net>
2011-02-24intel: Try using glCopyTexSubImage2D in _mesa_meta_BlitFramebufferNeil Roberts
In the case where glBlitFramebuffer is being used to copy to a texture without scaling it is faster if we can use the hardware to do a blit rather than having to do a texture render. In most of the drivers glCopyTexSubImage2D will use a blit so this patch makes it check for when glBlitFramebuffer is doing a simple copy and then divert to glCopyTexSubImage2D. This was originally proposed as an extension to the common meta-ops. However, it was rejected as using the BLT is only advantageous for Intel hardware. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33934 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-24nvc0: fix PointCoord enable in FP headerChristoph Bumiller
2011-02-24nvc0: change TGSI CMP translation to use slctChristoph Bumiller
Saves us the explicit compare instruction needed with selp.
2011-02-24nvc0: sprite coord enable is per GENERIC, not overall indexChristoph Bumiller
2011-02-24nvc0: fix new_value calls using type instead of sizeChristoph Bumiller
2011-02-24nvc0: set local memory usage info in shader headerChristoph Bumiller
Before this, l[] access was a no-op.
2011-02-24nvc0: don't fold loads from local memoryChristoph Bumiller
2011-02-24nvc0: presin and preex2 can load from const spaceChristoph Bumiller
2011-02-24nvc0: kick out empty live rangesChristoph Bumiller
They affect overlap tests even though they're actually empty.
2011-02-24nvc0: preemptively insert branch at ENDIFChristoph Bumiller
Might be necessary if a block sneaks in somewhere, like a common block for moves of phi sources after a loop break. This is harmless and normally will be removed before emission.
2011-02-24nvc0: correct allocation of constrained registersChristoph Bumiller
In linear scan we can't allocate multiple values with different live ranges at the same time to assign them consecutive regs. Maybe we should just switch to graph coloring for all values ...
2011-02-24nvc0: sync textures with render targets ourselvesChristoph Bumiller
Fixes for example piglit/fbo-flushing and nexuiz' bloom effect.
2011-02-24nvc0: improve userspace fencingChristoph Bumiller
Before, there were situations in which we never checked the fences for completion (some loading screens for example) and thus never released memory.
2011-02-24nvc0: values for undefined outputs must have file GPRChristoph Bumiller
2011-02-24nvc0: multiply polygon offset units by 2Christoph Bumiller
Wasn't sure if this still was necessary because the piglit test started to fail at some point on nv50 where we already do this.
2011-02-24nvc0: fix SSGChristoph Bumiller
2011-02-24nvc0: don't visit target blocks of a loop break multiple timesChristoph Bumiller
2011-02-24nvc0: don't overwrite phi sources at the end of a loopChristoph Bumiller
Except the reference to its own result.
2011-02-24gallium/utils: Fix vertex element setupFabian Bieler
Check if element was translated per element instead of per buffer.
2011-02-24svga: Ensure rendertargets and textures are always rebound at every command ↵José Fonseca
buffer start. The svga_update_state() mechanism is inadequate as it will always end up flushing the primitives before processing the SVGA_NEW_COMMAND_BUFFER dirty state flag.
2011-02-24i965: Remember to pack the constant blend color as floats into the batchChris Wilson
Fixes regression from aac120977d1ead319141d48d65c9bba626ec03b8. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34597 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>