summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-08-25r300g: eliminate unused constants in FSMarek Olšák
2010-08-25r300g: eliminate unused constants in VSMarek Olšák
2010-08-25r300g: clean up some mess in set_constant_bufferMarek Olšák
2010-08-25r300g: fix indentationMarek Olšák
2010-08-25r300g: reset the index bias to 0 at the end of CSMarek Olšák
2010-08-24nvfx: Initialize variables on error path.Vinson Lee
2010-08-25r300g: rename radeong_dri.so to r300_dri.soDave Airlie
acked on irc by Corbin + Marek.
2010-08-24make: Use C++ compiler to link stdc++ library.Brian Paul
glxinfo and glxgears run on swrast and softpipe without undefined symbol errors.
2010-08-24r600g: Add support for PIPE_FORMAT_R32_FLOAT.Henri Verbeet
2010-08-23nvfx: Remove unnecessary headers.Vinson Lee
2010-08-23r300g: Remove unused variable.Vinson Lee
Fixes this GCC warning. r300_render.c: In function 'r300_draw_flush_vbuf': r300_render.c:988: warning: unused variable 'r300_render'
2010-08-24st/egl: Fix r300/r600 support in KMS backend.Chia-I Wu
When the kernel driver name is radeon, ask the loader for r300 or r600 depending on the PCI ID.
2010-08-24targets/egl: Check against drm_driver_descriptor::name.Chia-I Wu
drm_driver_descriptor::driver_name is defined to be the name of the kernel module. We should check against drm_driver_descriptor::name instead of drm_driver_descriptor::driver_name.
2010-08-24targets/egl: add pipe_r600Benjamin Franzke
KNOWN ISSUE: eglShowScreenSurfaceMESA in st/egl/kms fails but st/egl/x11 works
2010-08-24targets/egl: rename pipe_radeon to pipe_r300Benjamin Franzke
st/egl/x11/x11_screen.c requests a driver named r300 not radeon KNOWN ISSUE: breaks st/egl/kms/ st/egl/kms requests a pipe named "radeon" that will not be found now so why not leaving pipe_radeon there? that was possible as long we have only r300g. now there is also r600g for which st/egl/kms also requests a pipe named "radeon" (possible solution in later commit)
2010-08-24st/dri: Remove unnecessary main/mtype.h.Chia-I Wu
2010-08-24st/wgl: Include main/core.h.Chia-I Wu
Make st/wgl include only main/core.h from core mesa.
2010-08-24st/glx: Include main/core.h.Chia-I Wu
Make st/glx include only main/core.h from core mesa.
2010-08-24translate_sse: clear state for each function emissionLuca Barbieri
Fixes #29771.
2010-08-24r600g: add XPD supportDave Airlie
ported from r600c.
2010-08-24r600g: add CMP support.Dave Airlie
ported from r600c, fixes fp-cmp, glsl1-sqrt*
2010-08-24nvfx: don't emit dummy commands on nv30Luca Barbieri
Should fix errors on the original nv30, reported by pmdata.
2010-08-23translate_sse: fix x86-64Luca Barbieri
2010-08-23r600g: Add support for PIPE_CAP_DEPTH_CLAMP.Henri Verbeet
2010-08-23auxiliary: fix nvfx/nv50 primitive splitting for line loopsLuca Barbieri
s->close_first was on the wrong side of the inequality. Caught by blender. Thanks to AndrewR for reporting this.
2010-08-23r600g: export one component per pixel + r7xx uncompression shaderJerome Glisse
We need to always at least export one component (wether it's depth or color. Add valid r7xx shader program for depth decompression. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-23nvfx: improve fp temp accountingLuca Barbieri
2010-08-23tgsi: fix false CondStackTop==0 assertionBrian Paul
2010-08-23util: fix util_fill_rect to take util_color instead of u32 paramRoland Scheidegger
util_fill_rect could not handle formats with more than 32 bits, since the fill color was a uint32_t value. Fix this by using a util_color union instead, and also expand the union so it works with formats which have up to 256 bits (the max of any format currently defined).
2010-08-23nvfx: emit bo relocations only when neededLuca Barbieri
Should improve performance, possibly significantly.
2010-08-23nvfx: match Gallium's gl_PointCoord brokennessLuca Barbieri
Gallium always puts gl_PointCoord in GENERIC[0] if point_quad_rasterization is enabled. This is silly, but for now it makes mesa-demos/glsl/pointcoord work.
2010-08-23nvfx: support clip planes sensibly and fix them on nv30Luca Barbieri
Before, we were discarding the compiled vertex program on each vertex program change. Now we compile the program as if there were 6 clip planes and dynamically patch in an "end program" bit at the right place. Also, nv30 should now work.
2010-08-23r300g: avoid stall in no-tcl drawing when mapping vboDave Airlie
the current code reuses the same vbo over and over, however after a flush we'd stall and wait for mapping on the vbo when we should just fire and forget. On a gears test this brings me from ~620 to ~750 on my rv530 in swtcl mode. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-08-22util: implement depth blitting in u_blitMarek Olšák
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-08-23nvfx: fix minor memory leakLuca Barbieri
2010-08-23nvfx: support both sprite coord originsLuca Barbieri
Now we lie less when claiming OpenGL 2 support. Also, first piglit result group is now all green, except for fdo25614-genmipmap, which seems mesa/st's fault.
2010-08-23nvfx: use 64-bit bitmasks for tempsLuca Barbieri
2010-08-22r600g: fix DB decompressionJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-22nvfx: Include missing header in nvfx_vertprog.c.Vinson Lee
Include draw_context.h for draw_*_vertex_shader symbols. Fixes the following GCC warning. nvfx_vertprog.c: In function 'nvfx_vp_state_create': nvfx_vertprog.c:1276: warning: implicit declaration of function 'draw_create_vertex_shader' nvfx_vertprog.c:1276: warning: assignment makes pointer from integer without a cast nvfx_vertprog.c: In function 'nvfx_vp_state_delete': nvfx_vertprog.c:1298: warning: implicit declaration of function 'draw_delete_vertex_shader'
2010-08-22translate_sse: add R32G32B32A32_FLOAT -> X8X8X8X8_UNORM for EMIT_4UBJakob Bornecrantz
Changed by me to use movd instead of movss to avoid penalties.
2010-08-22translate_sse: refactor constant managementLuca Barbieri
2010-08-22nvfx: refactor to support multiple fragment program versionsLuca Barbieri
2010-08-22nvfx: move stuff aroundLuca Barbieri
2010-08-22r600g: depth buffer likely needs decompression when used as textureJerome Glisse
Before using depth buffer as texture, it needs to be decompressed (tile pattern of db are different from one used for colorbuffer like texture) Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-22glx/xlib: configurable strict/non-strict buffer size invalidateKeith Whitwell
Introduce a new configuration option XMESA_STRICT_INVALIDATE to switch between swapbuffers-based and glViewport-based buffer invalidation. Default strict invalidate to false, ie glViewport-based invalidation, aka ST_MANAGER_BROKEN_INVALIDATE. This means we will not call XGetGeometry after every swapbuffers, which allows swapbuffers to remain asynchronous. For apps running at 100fps with synchronous swapping, a 10% boost is typical. For gears, I see closer to 20% speedup. Note that the work of copying data on swapbuffers doesn't disappear - this change just allows the X server to execute the PutImage asynchronously without us effectively blocked until its completion. This applies even to llvmpipe's threaded rasterization as the swapbuffers operation was a large part of the serial component of an llvmpipe frame. The downside of this is correctness - applications which don't call glViewport on window resizes will get incorrect rendering, unless XMESA_STRICT_INVALIDATE is set. The ultimate solution would be to have per-frame but asynchronous invalidation. Xcb almost looks as if it could provide this, but the API doesn't seem to quite be there.
2010-08-22llvmpipe: reduce size of fragment shader variant keyKeith Whitwell
Don't spend as much time comparing them.
2010-08-22llvmpipe: remove unused member from lp_fragment_shader_variant_keyKeith Whitwell
2010-08-22llvmpipe: don't clear unused binsKeith Whitwell
If bins outside the current scene bounds are being corrupted, we'll need to fix that separately. Currently seems ok though.
2010-08-22draw: reduce the size of the llvm variant keyKeith Whitwell
2010-08-22glx/xlib: remove another XSyncKeith Whitwell
With this change, xmesa_get_window_size still does one round trip, but that's better than doing two.