summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-03-23nvfx: fix/workaround nv3x hwtnl issuesLuca Barbieri
This patch re-emits the viewport state on framebuffer or rasterizer change. This seems to be necessary on nv3x, but the reason is not fully understood. It is quite likely that this isn't really the correct fix, but seems to work, and makes nv3x much better.
2010-03-23dri: test whether the built drivers have unresolved symbolsLuca Barbieri
This is a different approach to solving this problem that the patch I previously posted, and unlike that, should not cause any problems. Right now undefined symbols in DRI drivers will still allow the build to succeed. As a result, people modifying drivers they cannot test risk creating unloadable drivers with no easy way of automatically avoiding it. For instance, the modifications to nv50 for context transfers caused such an issue recently. Unfortunately, just adding -Wl,--no-undefined doesn't work, because the DRI drivers depend on glapi symbols, but do not depend on libGL.so.1 Adding -lGL is not the correct solution since DRI drivers are not loaded just by libGL, but also by X and possibly by other clients. So, this patch simply tries to build an executable linked to the DRI driver and to libGL. If the DRI driver contains any undefined symbols not satisfied by its dependencies or by libGL, this will fail. This solution does not alter the built drivers, and does not significantly slow down the build process. All classic DRI drivers as well as all the Gallium drivers with configure options compiled successfully with this change. Thanks to Xavier Chantry <chantry.xavier@gmail.com> and Michel Daenzer <michel@daenzer.net> for helping with this. Signed-off-by: Luca Barbieri <luca@luca-barbieri.com> Acked-by: Brian Paul <brian.e.paul@gmail.com>
2010-03-23radeong: fix build issue with libdrm < 2.4.19Marek Olšák
2010-03-23r300g: fix glean occlusion query testDave Airlie
2010-03-22gallium/docs: Cleanup and clarify point ras info.Corbin Simpson
...This state's interdependent? Really? Needs moar cleanup.
2010-03-22radeong: Always initialize this variable.Corbin Simpson
May or may not be responsible for slight increases in ipers FPS.
2010-03-22r300g: Cleanup a few old warnings.Corbin Simpson
Those paths aren't important anymore, and a debugging warning won't stop a hardlock anyway.
2010-03-22st/glx: fix depth/stencil format selection codeBrian Paul
This fixes a pretty big performance regression caused by commit 3475e88442c16fb2b50b903fe246b3ebe49da226. When the user does not request a stencil buffer it's important that we don't use a depth/stencil format (or at least make it our last choice). If the user calls glClear(GL_DEPTH_BUFFER_BIT) when we have a combined depth/stencil buffer, that causes us to hit the clear_with_quad() path which can be much, much slower than calling pipe_context::clear(). Also, try to use a shallower depth format before a deeper one.
2010-03-22cso: Remove unnecessary header.Vinson Lee
2010-03-22nvfx: fix sampler views supportLuca Barbieri
The code was half converted, resulting in texturing being totally broken.
2010-03-22Merge branch '7.8'Brian Paul
Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/mesa/state_tracker/st_cb_drawpixels.c
2010-03-21r300g: disable tiling for YUV formatsMarek Olšák
2010-03-21r300g: fix scons buildMarek Olšák
2010-03-21r300g: accelerate blitting for all 64-bit texture formatsMarek Olšák
2010-03-21r300g: add and enable square microtilingMarek Olšák
It requires DRM 2.1.0 (e.g. kernel 2.6.34) and is disabled on older ones. Finally, the texture tiling implementation is now complete. Uff.
2010-03-21r300g: cleanup tiling flags propagationMarek Olšák
2010-03-21r300g: put common defines into one fileMarek Olšák
2010-03-21r300g: remove unused codeMarek Olšák
2010-03-21Revert "drm/sw: does not need sw_winsys"George Sapountzis
This reverts commit 97a694e2211dc804090f282d8e096c028f29579f.
2010-03-21Revert "gallium: add soft screen helper"George Sapountzis
This reverts commit f87a5f6499f51f651c2a9f2d4682875b22926905.
2010-03-21Revert "drm/sw: just s/softpipe_create_screen/gallium_soft_create_screen/"George Sapountzis
This reverts commit 5d524cce9c4fcc18ed977801d59ba7bb911020db.
2010-03-21Revert "fix scons build"George Sapountzis
This reverts commit 29ec05164838f13d9535271796a50fa213d07912.
2010-03-21fix scons buildGeorge Sapountzis
2010-03-21Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesaGeorge Sapountzis
2010-03-21Revert "Makefile.template: respect LIBRARY_DEFINES in mkdep"George Sapountzis
This reverts commit 9ec29e31919e85f9230867f43841c0e74be930d3.
2010-03-21nv50: report driver as GLSL capableChristoph Bumiller
There's still no hint of optimization in the shaders, but we support conditionals, loops and even integer opcodes so it isn't that big a lie.
2010-03-21Merge branch 'master' of git://anongit.freedesktop.org/git/mesa/mesaGeorge Sapountzis
2010-03-21drm/sw: just s/softpipe_create_screen/gallium_soft_create_screen/George Sapountzis
This partially reverts commit f87a5f6499f51f651c2a9f2d4682875b22926905.
2010-03-21nv50: don't validate arrays on clearChristoph Bumiller
The vertex elements and buffers might not be valid anymore.
2010-03-21nv50: get rid of the static_init stateobjChristoph Bumiller
Relocations of per-screen buffers are now emitted directly, and include the necessary method to get changes in constbuf addresses committed to the hw. It should also be a bit cheaper than the way stateobjs emit relocation markers, use a little less pushbuf space.
2010-03-21gallium: add soft screen helperGeorge Sapountzis
2010-03-21dri1_api: need not include drm.hGeorge Sapountzis
2010-03-21drm/sw: does not need sw_winsysGeorge Sapountzis
2010-03-21drm/sw: llvmpipe texture_from_handleGeorge Sapountzis
Not sure, but judging by softpipe, this hook was forgotten.
2010-03-21Makefile.template: respect LIBRARY_DEFINES in mkdepGeorge Sapountzis
2010-03-21r300g: fix occlusion query hangs.Dave Airlie
Okay need to revist the whole OQ stuff anyways, glean test asserts which is never good. I'm liking the cached bufmgr restrictions less and less, I think I'll probably play with the fence and/or busy stuff ASAP and try and clean it up. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21r300g: add bufmgr cached for vertex/index buffers.Dave Airlie
This adds the cached bufmgr for vertex/index buffers on top of the kernel manager. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21gallium: cached bufmgr add map busy checkDave Airlie
Suggested by Jose on the list, probably not perfect but will let me get past this for now, testing with a fenced bufmgr on top of this, was slower, Also this doesn't let you do the busy early exit optimisation either from what I can see. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21Merge remote branch 'origin/gallium-st-api-dri'Chia-I Wu
2010-03-21r300g: align misaligned ushort vertex indicesMarek Olšák
2010-03-21r300g: fix misaligned generated offset for ubyte vertex indicesMarek Olšák
2010-03-21r300g: split the vertex buffer alignment validationMarek Olšák
2010-03-21r300g: skip null vertex buffersMarek Olšák
2010-03-20r300g: Bump immediate limits.Corbin Simpson
Seems like a decent idea, especially since the big barrier now is getting the VBOs back from the VRAM boundary.
2010-03-20r300g: Correctly hax max_index on pipe_vertex_buffers.Corbin Simpson
Still not happy with this, but at least things seem to work.
2010-03-20radeong: Use TRUE and FALSE.Corbin Simpson
2010-03-20radeong: Test the BO ptr for NULL instead of using a bool.Corbin Simpson
Slight memory savings, but more importantly also avoids a potential NULL dereference.
2010-03-21r300g: winsys fix tiling change flushes.Dave Airlie
If we change the tiling on a buffer we need to flush it, the old radeon_buffer.c code had this but it crossed streams when I ported to radeon_drm_buffer.c and I missed it. Should fix some piglit regressions. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21r300g: add buffer/texture referenced checks.Dave Airlie
I've no idea about the comments that were in there, just pass this down to the winsys. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-20st/dri: fix bug in make_currentGeorge Sapountzis