Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: new transfer flag: DISCARD_WHOLE_RESOURCE | Keith Whitwell | 2011-02-22 | 1 | -3/+18 |
| | |||||
* | st/dri: Track drawable context bindings | Jakob Bornecrantz | 2011-02-20 | 4 | -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 throttling | Daniel Vetter | 2011-02-21 | 1 | -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 winsys | Daniel Vetter | 2011-02-21 | 3 | -3/+4 |
| | | | | Signed-off-by: Daniel Vetter <[email protected]> | ||||
* | i915g: Fix warning | Jakob Bornecrantz | 2011-02-21 | 1 | -1/+0 |
| | |||||
* | i915g: Add option to lie about caps | Jakob Bornecrantz | 2011-02-21 | 3 | -1/+9 |
| | |||||
* | i915g: Move debug fields to screen | Jakob Bornecrantz | 2011-02-21 | 4 | -4/+7 |
| | |||||
* | i915g: Use debug get once options | Jakob Bornecrantz | 2011-02-21 | 2 | -3/+9 |
| | |||||
* | i915g: Rework texture tiling a bit | Jakob Bornecrantz | 2011-02-21 | 1 | -14/+8 |
| | |||||
* | i915g: Anisotropic filtering works | Jakob Bornecrantz | 2011-02-21 | 1 | -1/+1 |
| | |||||
* | i915g: TODO about point sprites | Jakob Bornecrantz | 2011-02-21 | 1 | -0/+3 |
| | |||||
* | i915g: TODO about untested code hidden behind caps | Jakob Bornecrantz | 2011-02-21 | 2 | -2/+9 |
| | | | | | Should be fairly easy to test and fix since you can look at the code in the classic driver. | ||||
* | i915g: Reorg caps | Jakob Bornecrantz | 2011-02-21 | 1 | -28/+42 |
| | |||||
* | svga: Remove some remaining fake S3TC rendering support. | José Fonseca | 2011-02-21 | 1 | -4/+0 |
| | |||||
* | i915g: s/__func__/__FUNCTION__/ | Vinson Lee | 2011-02-20 | 1 | -1/+1 |
| | |||||
* | i915g: kill remnants of mmapped batchbuffer support | Daniel Vetter | 2011-02-21 | 1 | -12/+0 |
| | | | | | | We're using bo_subdata. Signed-off-by: Daniel Vetter <[email protected]> | ||||
* | i915g: Add winsys/i915/sw to scons build | Jakob Bornecrantz | 2011-02-21 | 1 | -0/+4 |
| | |||||
* | i915g: Fix void ptr arith | Jakob Bornecrantz | 2011-02-21 | 1 | -1/+1 |
| | |||||
* | i915g: Add dummy flush_frontbuffer | Jakob Bornecrantz | 2011-02-21 | 1 | -0/+15 |
| | |||||
* | scons: Add aliases for the llvmpipe unit tests. | José Fonseca | 2011-02-19 | 1 | -2/+7 |
| | | | | | | Now one can simply do scons lp_test_format | ||||
* | gallivm: Use simple scaling plus casting in more unorm->float cases. | José Fonseca | 2011-02-19 | 1 | -25/+34 |
| | |||||
* | r300g: fix a possible race when counting contexts | Marek Olšák | 2011-02-19 | 3 | -2/+8 |
| | | | | Atomics aren't sufficient here. | ||||
* | r300g: fix invalid dereference in winsys | Marek Olšák | 2011-02-19 | 1 | -1/+1 |
| | | | | radeon_bo_unref may destroy the buffer, so call it after p_atomic_dec, not before. | ||||
* | svga: Fix NULL dereference. | José Fonseca | 2011-02-18 | 3 | -7/+9 |
| | | | | Probably introduced with the surface view move from screen to context. | ||||
* | svga: Ensure pending drawing commands other surface operations are emitted ↵ | José Fonseca | 2011-02-18 | 8 | -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é Fonseca | 2011-02-18 | 1 | -1/+19 |
| | |||||
* | svga: Ensure SWTNL is created after HWTNL. | José Fonseca | 2011-02-18 | 1 | -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é Fonseca | 2011-02-18 | 1 | -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é Fonseca | 2011-02-18 | 1 | -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 validated | Marek Olšák | 2011-02-18 | 7 | -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 textures | Jakob Bornecrantz | 2011-02-18 | 1 | -1/+2 |
| | | | | Signed-off-by: Jakob Bornecrantz <[email protected]> | ||||
* | svga: Describe svga_sampler_views for refcnt debugging | Jakob Bornecrantz | 2011-02-18 | 2 | -1/+21 |
| | | | | Signed-off-by: Jakob Bornecrantz <[email protected]> | ||||
* | svga: Make sure that refcnt debugger gets the correct backtrace for create | Jakob Bornecrantz | 2011-02-18 | 2 | -0/+9 |
| | | | | Signed-off-by: Jakob Bornecrantz <[email protected]> | ||||
* | util: Make refcnt and symbol debuggers work on windows | Jakob Bornecrantz | 2011-02-18 | 2 | -2/+21 |
| | | | | Signed-off-by: Jakob Bornecrantz <[email protected]> | ||||
* | u_vbuf_mgr: initialize flag indicating that buffers have been updated | Marek Olšák | 2011-02-18 | 1 | -1/+1 |
| | | | | | This fixes r300g errors: r300: Cannot get a relocation in radeon_drm_cs_write_reloc. | ||||
* | gallium/svga: Fix unnecessary swtnl fallbacks | Thomas Hellstrom | 2011-02-18 | 1 | -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 Airlie | 2011-02-18 | 1 | -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 Bieler | 2011-02-18 | 1 | -0/+12 |
| | | | | | | the current clause Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: Add support to dump vertex- and texture-fetch clauses | Fabian Bieler | 2011-02-18 | 1 | -1/+56 |
| | | | | Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: add BC4/5 to RGTC conversion | Dave Airlie | 2011-02-18 | 1 | -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é Fonseca | 2011-02-17 | 1 | -1/+1 |
| | |||||
* | draw: update comments, rename vars in pstipple code | Brian Paul | 2011-02-17 | 1 | -16/+18 |
| | |||||
* | svga: Don't use more than one constant per IFC instruction. | José Fonseca | 2011-02-17 | 1 | -2/+15 |
| | |||||
* | util: Cleanup symbol name resolution on Windows. | José Fonseca | 2011-02-17 | 2 | -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 consistent | Brian Paul | 2011-02-17 | 1 | -2/+2 |
| | |||||
* | r600g: get s3tc working on cards with crappy 64/128 bit types. | Dave Airlie | 2011-02-17 | 4 | -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 Airlie | 2011-02-17 | 1 | -0/+1 |
| | |||||
* | gallium/util: init key with memset() | Brian Paul | 2011-02-16 | 1 | -1/+3 |
| | | | | To silence missing initializers warning. | ||||
* | svga: flush when transitioning between HW and SW rendering paths | Brian Paul | 2011-02-16 | 2 | -0/+11 |
| | | | | To avoid mixing HW and SW rendering with the same vertex buffer. | ||||
* | rtasm: add dummy return statement to silence MSVC warning | Brian Paul | 2011-02-16 | 1 | -1/+2 |
| | | | | | And use assert(0) instead of abort() to be consistent with rest of Gallium. |