summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* gallium: new transfer flag: DISCARD_WHOLE_RESOURCEKeith Whitwell2011-02-221-3/+18
|
* st/dri: Track drawable context bindingsJakob Bornecrantz2011-02-204-2/+14
| | | | | | | | | | | | | | | | | | | Needs to track this ourself since because we get into a race condition with the dri_util.c code on make current when rendering to the front buffer. This is what happens: Old context is rendering to the front buffer. App calls MakeCurrent with a new context. dri_util.c sets drawable->driContextPriv to the new context and then calls the driver make current. st/dri make current flushes the old context, which calls back into st/dri via the flush frontbuffer hook. st/dri calls dri loader flush frontbuffer, which calls invalidate buffer on the drawable into st/dri. This is where things gets wrong. st/dri grabs the context from the dri drawable (which now points to the new context) and calls invalidate framebuffer to the new context which has not yet set the new drawable as its framebuffers since we have not called make current yet, it asserts.
* i915g: add some throttlingDaniel Vetter2011-02-211-0/+9
| | | | | | Intel classic drivers switched to this, too, so it must be good. Signed-off-by: Daniel Vetter <[email protected]>
* i915g: s/bool/boolean/ style-fixup in winsysDaniel Vetter2011-02-213-3/+4
| | | | Signed-off-by: Daniel Vetter <[email protected]>
* i915g: Fix warningJakob Bornecrantz2011-02-211-1/+0
|
* i915g: Add option to lie about capsJakob Bornecrantz2011-02-213-1/+9
|
* i915g: Move debug fields to screenJakob Bornecrantz2011-02-214-4/+7
|
* i915g: Use debug get once optionsJakob Bornecrantz2011-02-212-3/+9
|
* i915g: Rework texture tiling a bitJakob Bornecrantz2011-02-211-14/+8
|
* i915g: Anisotropic filtering worksJakob Bornecrantz2011-02-211-1/+1
|
* i915g: TODO about point spritesJakob Bornecrantz2011-02-211-0/+3
|
* i915g: TODO about untested code hidden behind capsJakob Bornecrantz2011-02-212-2/+9
| | | | | Should be fairly easy to test and fix since you can look at the code in the classic driver.
* i915g: Reorg capsJakob Bornecrantz2011-02-211-28/+42
|
* svga: Remove some remaining fake S3TC rendering support.José Fonseca2011-02-211-4/+0
|
* i915g: s/__func__/__FUNCTION__/Vinson Lee2011-02-201-1/+1
|
* i915g: kill remnants of mmapped batchbuffer supportDaniel Vetter2011-02-211-12/+0
| | | | | | We're using bo_subdata. Signed-off-by: Daniel Vetter <[email protected]>
* i915g: Add winsys/i915/sw to scons buildJakob Bornecrantz2011-02-211-0/+4
|
* i915g: Fix void ptr arithJakob Bornecrantz2011-02-211-1/+1
|
* i915g: Add dummy flush_frontbufferJakob Bornecrantz2011-02-211-0/+15
|
* scons: Add aliases for the llvmpipe unit tests.José Fonseca2011-02-191-2/+7
| | | | | | Now one can simply do scons lp_test_format
* gallivm: Use simple scaling plus casting in more unorm->float cases.José Fonseca2011-02-191-25/+34
|
* r300g: fix a possible race when counting contextsMarek Olšák2011-02-193-2/+8
| | | | Atomics aren't sufficient here.
* r300g: fix invalid dereference in winsysMarek Olšák2011-02-191-1/+1
| | | | radeon_bo_unref may destroy the buffer, so call it after p_atomic_dec, not before.
* svga: Fix NULL dereference.José Fonseca2011-02-183-7/+9
| | | | Probably introduced with the surface view move from screen to context.
* svga: Ensure pending drawing commands other surface operations are emitted ↵José Fonseca2011-02-188-17/+40
| | | | | | | | | before DMAs. This behavior was last when moving the transfers to the contexts. This fixes several piglit failures, which were reading the color renderbuffer before the draw operations were emitted.
* svga: Cannot use negate or abs on source to dsx/dsy instructions.José Fonseca2011-02-181-1/+19
|
* svga: Ensure SWTNL is created after HWTNL.José Fonseca2011-02-181-5/+4
| | | | | Matches the internal driver layering, and prevents null svga->hwtnl dereferencing from inside the swtnl.
* svga: Ensure LRP's restrictions are observed in all uses.José Fonseca2011-02-181-38/+51
| | | | The dst reg must be a temporary, and not be the same as src0 or src2.
* svga: Preserve src swizzles in submit_op2/3/4.José Fonseca2011-02-181-25/+45
| | | | | Several opcodes require scalar swizzle, and this requirement was being was not being observed when creating temporaries for other reasons.
* r300g: remove tracking whether vertex buffers need to be validatedMarek Olšák2011-02-187-88/+27
| | | | | This was getting hard to maintain and didn't really bring any real benefits. Instead, validate buffers when the vertex array state is dirty.
* svga: Disable surface cache for texturesJakob Bornecrantz2011-02-181-1/+2
| | | | Signed-off-by: Jakob Bornecrantz <[email protected]>
* svga: Describe svga_sampler_views for refcnt debuggingJakob Bornecrantz2011-02-182-1/+21
| | | | Signed-off-by: Jakob Bornecrantz <[email protected]>
* svga: Make sure that refcnt debugger gets the correct backtrace for createJakob Bornecrantz2011-02-182-0/+9
| | | | Signed-off-by: Jakob Bornecrantz <[email protected]>
* util: Make refcnt and symbol debuggers work on windowsJakob Bornecrantz2011-02-182-2/+21
| | | | Signed-off-by: Jakob Bornecrantz <[email protected]>
* u_vbuf_mgr: initialize flag indicating that buffers have been updatedMarek Olšák2011-02-181-1/+1
| | | | | This fixes r300g errors: r300: Cannot get a relocation in radeon_drm_cs_write_reloc.
* gallium/svga: Fix unnecessary swtnl fallbacksThomas Hellstrom2011-02-181-0/+1
| | | | | | | | When we drop the in_swtnl_draw flag, we must force a rerun of update_need_swtnl to reset the need_swtnl flag to its correct value outside of a swtnl vbo draw. Signed-off-by: Thomas Hellstrom <[email protected]>
* r600g: reorganise rgtc pieces.Dave Airlie2011-02-181-16/+23
| | | | | | | when the cs checker fixes go upstream a lot of this can disappear into a drm version check. Signed-off-by: Dave Airlie <[email protected]>
* r600g: Start a new TEX clause if the texture lookup address was fetched in ↵Fabian Bieler2011-02-181-0/+12
| | | | | | the current clause Signed-off-by: Dave Airlie <[email protected]>
* r600g: Add support to dump vertex- and texture-fetch clausesFabian Bieler2011-02-181-1/+56
| | | | Signed-off-by: Dave Airlie <[email protected]>
* r600g: add BC4/5 to RGTC conversionDave Airlie2011-02-181-0/+8
| | | | | this doesn't do anything much since the rest of mesa doesn't support RGTC yet.
* util: Fix typo in last commit.José Fonseca2011-02-171-1/+1
|
* draw: update comments, rename vars in pstipple codeBrian Paul2011-02-171-16/+18
|
* svga: Don't use more than one constant per IFC instruction.José Fonseca2011-02-171-2/+15
|
* util: Cleanup symbol name resolution on Windows.José Fonseca2011-02-172-39/+1310
| | | | | | - Support symbol name resolution on MinGW. - Use dbghelp.dll (which should allow 64bit support), but untested yet. - Cleanup.
* softpipe: rename env vars to be consistentBrian Paul2011-02-171-2/+2
|
* r600g: get s3tc working on cards with crappy 64/128 bit types.Dave Airlie2011-02-174-0/+30
| | | | | | | | | Some cards don't appear to work correctly with the UNORM type, so switch to the integer type, however since gallium has no integer types yet from what I can see we need to do a hack to workaround it for the blitter. Signed-off-by: Dave Airlie <[email protected]>
* r600g: add missing type to color buffer swap.Dave Airlie2011-02-171-0/+1
|
* gallium/util: init key with memset()Brian Paul2011-02-161-1/+3
| | | | To silence missing initializers warning.
* svga: flush when transitioning between HW and SW rendering pathsBrian Paul2011-02-162-0/+11
| | | | To avoid mixing HW and SW rendering with the same vertex buffer.
* rtasm: add dummy return statement to silence MSVC warningBrian Paul2011-02-161-1/+2
| | | | | And use assert(0) instead of abort() to be consistent with rest of Gallium.