summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-12-16wrapper: Flush pipe on unmapJakob Bornecrantz
For drivers that does DMA transfers instead of mapping directly
2010-12-16wrapper: Fix width and height given to map and remove uneeded fieldsJakob Bornecrantz
2010-12-27i915g: Ignore color0 writes all cbufs tgsi propertyJakob Bornecrantz
2010-12-26st/egl: Fix eglChooseConfig when configs is NULL.Chia-I Wu
When configs is NULL, the app wants to know the number of matching configs.
2010-12-25nvfx: Remove unused variable.Vinson Lee
Fixes this GCC warning. nvfx_vbo.c: In function 'nvfx_idxbuf_emit': nvfx_vbo.c:410: warning: unused variable 'eng3d'
2010-12-25nvfx: restore BEGIN_RING usageXavier Chantry
Michel Hermier reported libdrm segfault (and kernel crash) on nv40 using gallium : http://www.mail-archive.com/nouveau@lists.freedesktop.org/msg06563.html It turns out these were caused by some missing WAIT_RING (or wrong computation of the WAIT_RING sizes). Unlike all other libdrm_nouveau users, nvfx gallium tried to use a mininum calls of WAIT_RING, one WAIT_RING could apply to many methods for different code paths and spread across several functions. This made it too tricky to find out what the missing or wrong WAIT_RING was. By restoring BEGIN_RING, we force one WAIT_RING per method, and it's much easier to check if the free size required in the pushbuffer is correct. As curro said, "let's keep it simple for the maintainers until the big bottlenecks are gone" Benchmarked on nv35 with openarena, nexuiz and ut2004 and no performance regression. The core of this patch was made with Coccinelle, with minor manual fixes made on top. Tested-by: Michel Hermier <hermier@frugalware.org> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-12-25r300g: simplify buffer_transfer_inline_writeMarek Olšák
2010-12-25r300g: simplify the code for buffer uploadsMarek Olšák
2010-12-25r300g: user index buffers are always alignedMarek Olšák
2010-12-25r300g: increase the size of upload buffersMarek Olšák
2010-12-24r300g/swtcl: re-enable LLVMMarek Olšák
Based on a patch from Drill <drill87@gmail.com>. NOTE: This is a candidate for the 7.10 branch.
2010-12-24r600g: r600_blit_uncompress_depth() can't fail.Henri Verbeet
2010-12-24r600g: Get rid of r600_blit_uncompress_depth_ptr.Henri Verbeet
2010-12-24r600g: hack around property unknown issues.Dave Airlie
should fix https://bugs.freedesktop.org/show_bug.cgi?id=32619 Need to add proper support for properties later. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24r300g: turn back on rv530 hiz.Dave Airlie
still needs RADEON_HYPERZ=y env var. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24r300g: hyperz fixing typo.Dave Airlie
Really no idea why I didn't see this before, but these values were opposite the register spec. this seems to fix rv530 HiZ on my laptop, will reenable in next commit. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-23r600g: Rearrange print order of outputs of R600_ERR.Vinson Lee
2010-12-23st/egl: Remove unnecessary header.Vinson Lee
2010-12-23libgl-xlib: Remove unnecessary header.Vinson Lee
2010-12-23r300g: Remove unnecessary header.Vinson Lee
2010-12-24tgsi_text: just parse as an integer (value is a boolean).Dave Airlie
fixes warning reported by vlee on irc. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24r300g: add support for color0 writes to all bound color buffers.Dave Airlie
Thanks to Marek Olšák for making my initial attempt actually work. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24softpipe: add support for color writes all color bufs propertyDave Airlie
2010-12-24gallium: add fragment shader property for color writes to all buffers. (v2)Dave Airlie
For GL fragColor semantics we need to tell the pipe drivers that the fragment shader color result is to be replicated to all bound color buffers, this adds the basic TGSI + documentation. v2: fix missing comma pointed out by Tilman on mesa-dev. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-23r300g: use a simpler fallback for misaligned ushort indices with trianglesMarek Olšák
If 'start' is odd, render the first triangle with indices embedded in the command stream, which adds 3 to 'start' and makes it even. Then continue with the fast path.
2010-12-23r300g: add support for B2G3R3 texturingMarek Olšák
2010-12-23gallium: add new formats L16A16_UNORM, A16_UNORM, I16_UNORM, B2G3R3_UNORMMarek Olšák
2010-12-22gallivm: Disable MMX-disabling code on llvm-2.9.Vinson Lee
The disable-mmx option was removed in llvm-2.9svn by revisions 122188 and 122189. Fixes FDO bug 32564.
2010-12-22gallivm: Fix 'cast from pointer to integer of different size' warning.Vinson Lee
Fixes this GCC warning. lp_bld_const.h: In function 'lp_build_const_int_pointer': lp_bld_const.h:137: warning: cast from pointer to integer of different size
2010-12-22i915g: Remove unnecessary header.Vinson Lee
2010-12-22llvmpipe: Remove unnecessary headers.Vinson Lee
2010-12-22r300g: Remove unnecessary headers.Vinson Lee
2010-12-22svga: Remove unnecessary header.Vinson Lee
2010-12-22st/vega: Remove unnecessary headers.Vinson Lee
2010-12-22r600g: Remove the unused "pframebuffer" field from r600_pipe_context.Henri Verbeet
2010-12-22r600g: r600_new() and r600_delete() are unused.Henri Verbeet
2010-12-22st/egl: Assorted fixes for dri2_display_get_configs.Chia-I Wu
Set window_bit only when the visual id is greater than zero. Correct visual types. Skip slow configs as they are not relevant. Finally, do not return duplicated configs.
2010-12-22r600g: remove useless switch statementsAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-12-22st/egl: Fix eglCopyBuffers.Chia-I Wu
Flush before presenting.
2010-12-22st/egl: Plug pbuffer leaks.Chia-I Wu
Unreference validated resources or remove unnecessary validations.
2010-12-22st/egl: Allow single-buffered pixmaps.Chia-I Wu
All single-buffered configs were ignored before to make sure EGL_RENDER_BUFFER is settable for window surfaces. It is better to allow single-buffered configs and set EGL_WINDOW_BIT only for double-buffered ones. This way there can be single-buffered pixmaps.
2010-12-22r600g: drop unused code in evergreen.Dave Airlie
this code was pretty much duplicated, thanks to Henri Verbeet on irc for pointing it out. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-22st/egl: Remove native_config::samples.Chia-I Wu
Multisample buffers are never requested.
2010-12-22st/egl: Remove native_config::slow_config.Chia-I Wu
In direct rendering scenario, it is not needed until an EGLDisplay can support both HW and SW pipe screens.
2010-12-22st/egl: Remove unnecessary egl_g3d_find_pixmap_config.Chia-I Wu
It was used to find a compatible config for a given pixmap. Now that a config is optional for pixmap surface creation, the function is not needed.
2010-12-22st/egl: Make config optional for create_pixmap_surface.Chia-I Wu
eglCopyBuffers or EGL_KHR_image_pixmap require creating a pixmap surface without a config. Make it just work without relying on is_pixmap_supported.
2010-12-22r600g: fix evergreen segfaults.Dave Airlie
evergreen was crashing running even gears here. This is a 7.10 candidate if its broken the same. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-22r300g: fix precision issues with B10G10R10A2Marek Olšák
2010-12-22r300g: support B10G10R10A2 render targets only with DRM 2.8.0 or later versionsMarek Olšák
2010-12-21r600g: avoid segfaultJerome Glisse
Candidates 7.10 Signed-off-by: Jerome Glisse <jglisse@redhat.com>