summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2011-02-24i915g: Use dump function in sw winsysJakob Bornecrantz
2011-02-24i915g: Enable mirror repeat wrap modeJakob Bornecrantz
2011-02-24i915g: Always set vbo to flush on flushesJakob Bornecrantz
Reported-by Chris Wilson <chris@chris-wilson.co.uk>
2011-02-23r600g: Request DWORD aligned vertex buffers.Fabian Bieler
The spec says that the offsets in the vertex-fetch instructions need to be byte-aligned and makes no specification with regard to the required alignment of the offset and stride in the vertex resource constant register. However, testing indicates that all three values need to be DWORD aligned.
2011-02-22r300g: fix missing initializers warningBrian Paul
2011-02-22i915g: remove extra semicolonsBrian Paul
2011-02-22gallium: s/PIPE_TRANSFER_CPU_READ/PIPE_TRANSFER_READ/ in comments.José Fonseca
2011-02-22gallium/docs: Update PIPE_TRANSFER_xx docs. Reformat to use definitions.José Fonseca
2011-02-22gallium: new transfer flag: DISCARD_WHOLE_RESOURCEKeith Whitwell
2011-02-20st/dri: Track drawable context bindingsJakob Bornecrantz
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.
2011-02-21i915g: add some throttlingDaniel Vetter
Intel classic drivers switched to this, too, so it must be good. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-21i915g: s/bool/boolean/ style-fixup in winsysDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-21i915g: Fix warningJakob Bornecrantz
2011-02-21i915g: Add option to lie about capsJakob Bornecrantz
2011-02-21i915g: Move debug fields to screenJakob Bornecrantz
2011-02-21i915g: Use debug get once optionsJakob Bornecrantz
2011-02-21i915g: Rework texture tiling a bitJakob Bornecrantz
2011-02-21i915g: Anisotropic filtering worksJakob Bornecrantz
2011-02-21i915g: TODO about point spritesJakob Bornecrantz
2011-02-21i915g: TODO about untested code hidden behind capsJakob Bornecrantz
Should be fairly easy to test and fix since you can look at the code in the classic driver.
2011-02-21i915g: Reorg capsJakob Bornecrantz
2011-02-21svga: Remove some remaining fake S3TC rendering support.José Fonseca
2011-02-20i915g: s/__func__/__FUNCTION__/Vinson Lee
2011-02-21i915g: kill remnants of mmapped batchbuffer supportDaniel Vetter
We're using bo_subdata. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-21i915g: Add winsys/i915/sw to scons buildJakob Bornecrantz
2011-02-21i915g: Fix void ptr arithJakob Bornecrantz
2011-02-21i915g: Add dummy flush_frontbufferJakob Bornecrantz
2011-02-19scons: Add aliases for the llvmpipe unit tests.José Fonseca
Now one can simply do scons lp_test_format
2011-02-19gallivm: Use simple scaling plus casting in more unorm->float cases.José Fonseca
2011-02-19r300g: fix a possible race when counting contextsMarek Olšák
Atomics aren't sufficient here.
2011-02-19r300g: fix invalid dereference in winsysMarek Olšák
radeon_bo_unref may destroy the buffer, so call it after p_atomic_dec, not before.
2011-02-18svga: Fix NULL dereference.José Fonseca
Probably introduced with the surface view move from screen to context.
2011-02-18svga: Ensure pending drawing commands other surface operations are emitted ↵José Fonseca
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.
2011-02-18svga: Cannot use negate or abs on source to dsx/dsy instructions.José Fonseca
2011-02-18svga: Ensure SWTNL is created after HWTNL.José Fonseca
Matches the internal driver layering, and prevents null svga->hwtnl dereferencing from inside the swtnl.
2011-02-18svga: Ensure LRP's restrictions are observed in all uses.José Fonseca
The dst reg must be a temporary, and not be the same as src0 or src2.
2011-02-18svga: Preserve src swizzles in submit_op2/3/4.José Fonseca
Several opcodes require scalar swizzle, and this requirement was being was not being observed when creating temporaries for other reasons.
2011-02-18r300g: remove tracking whether vertex buffers need to be validatedMarek Olšák
This was getting hard to maintain and didn't really bring any real benefits. Instead, validate buffers when the vertex array state is dirty.
2011-02-18svga: Disable surface cache for texturesJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-02-18svga: Describe svga_sampler_views for refcnt debuggingJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-02-18svga: Make sure that refcnt debugger gets the correct backtrace for createJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-02-18util: Make refcnt and symbol debuggers work on windowsJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-02-18u_vbuf_mgr: initialize flag indicating that buffers have been updatedMarek Olšák
This fixes r300g errors: r300: Cannot get a relocation in radeon_drm_cs_write_reloc.
2011-02-18gallium/svga: Fix unnecessary swtnl fallbacksThomas Hellstrom
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 <thellstrom@vmware.com>
2011-02-18r600g: reorganise rgtc pieces.Dave Airlie
when the cs checker fixes go upstream a lot of this can disappear into a drm version check. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-18r600g: Start a new TEX clause if the texture lookup address was fetched in ↵Fabian Bieler
the current clause Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-18r600g: Add support to dump vertex- and texture-fetch clausesFabian Bieler
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-18r600g: add BC4/5 to RGTC conversionDave Airlie
this doesn't do anything much since the rest of mesa doesn't support RGTC yet.
2011-02-17util: Fix typo in last commit.José Fonseca
2011-02-17draw: update comments, rename vars in pstipple codeBrian Paul