summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2011-03-04tgsi: Disable SSE2 code generation.José Fonseca
It's broken now that tgsi_exec_machine::Inputs/Ouputs are pointers. Temporary if anybody still cares about tgsi_sse2.c. Permanent otherwise.
2011-03-04gallium: Define __func__ on MSVC.José Fonseca
2011-03-04Merge remote branch 'origin/nvc0'Christoph Bumiller
2011-03-04r600g: disable tiling by default again.Dave Airlie
we still have a lot of corner cases that aren't working. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-03tgsi: Update assert.José Fonseca
Elements(mach->Inputs) is wrong now that mach->Inputs is dynamically allocated.
2011-03-03rbug: Fix depth stencil surface not being sent to the clientJakob Bornecrantz
2011-03-03nv50: check grclass instead of chipset for 3D capsChristoph Bumiller
2011-03-03nv50: increase size of shader code boChristoph Bumiller
512 KiB should be quite enough, but dynamic resize might be nicer.
2011-03-03nouveau: allow pipe driver to define which buffers should start in sysmemBen Skeggs
PIPE_BIND_CONSTANT_BUFFER alone was OK for nv50/nvc0, but nv30 will need to be able to set others on certain chipsets. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-03r600g: correct mega_fetch_count in fetch shaderChristian König
2011-03-02tgsi: defer allocation of huge inputs/outputs until we have a gsZack Rusin
2011-03-02nv50: fix IB index buffer pathChristoph Bumiller
Add missing VERTEX_END and treat unaligned offsets correctly.
2011-03-02nv50: fix POINT_COORD_REPLACE_MAP method sizeChristoph Bumiller
Introduced in 223d98bb8d49c9e52e498a12980722467ae2bf87.
2011-03-02nv50: primitive restart trick for vertex data through FIFO modeChristoph Bumiller
Also, on nv50 the VERTEX_BEGIN method doesn't follow VERTEX_END, which was erroneously taken over from nvc0 and is fixed now.
2011-03-02nv50: fix depth clamp for disabled primitive clippingChristoph Bumiller
2011-03-02nv50: implement independent blend functions for nva3+ and fix capChristoph Bumiller
2011-03-02nv50: fix tile size calculationsChristoph Bumiller
2011-03-02nv50: fix point sprite state validationChristoph Bumiller
Wasn't updated if the FP didn't change, and coordinate replacement wasn't disabled anymore.
2011-03-02nv50: allow accidentally disabled IB index buffers againChristoph Bumiller
Must have sneaked in from debugging.
2011-03-02nv50: apply relocations to shader codeChristoph Bumiller
On nv50, branches are absolute, so we need to adjust them according to the shader's position in the code buffer.
2011-03-02nv50: fix wrong miptree tile flags taken over from nvc0Christoph Bumiller
2011-03-02r300g: require DRM 2.3.0 (kernel 2.6.34)Marek Olšák
Running any older kernel is not recommended anyway.
2011-03-02r300g: do not use ioctl thread offloading on single-core machinesMarek Olšák
2011-03-02r300g: Silence 'control reaches end of non-void function' warning.Vinson Lee
Fixes this GCC warning. r300_hyperz.c: In function 'r300_get_hiz_func': r300_hyperz.c:65: warning: control reaches end of non-void function
2011-03-01gallium: Add u_format_rgtc.c to SConscript.Vinson Lee
2011-03-02softpipe: enable RGTC now that we have u_format support.Dave Airlie
2011-03-02gallium: add RGTC UNORM support to u_format.Dave Airlie
SNORM needs a bit of work in the state tracker in order for mipmap generation to work I believe. I'm also not sure that having unorm fetches for an snorm format is sane.
2011-03-01svga: reduce MAX_DMA_SIZE to 4MBBrian Paul
2011-03-01i915g: remove extra semicolonBrian Paul
2011-03-02r300g: accelerate resoure_copy_region for rgtcMarek Olšák
2011-03-02r600g: change the cross over point for 2d->1dDave Airlie
this fixes some rendering in the fbo-generatemipmap-formats test on my rv610. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-01egl: Add EGL_WL_bind_wayland_displayBenjamin Franzke
2011-03-01i915g: kill relocs accoutingDaniel Vetter
No one ever cared. libdrm does dynamic resizing of its reloc-table, anyway. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-01i915g: switch to the exact batch space reservation codeDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-01i915g: split up hw state emission into small atomsDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-01i915g: fix i915_winsys_batchbuffer_writeDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-01r300g: initialize some r500 PS3 regsMarek Olšák
2011-03-01r300g: document some more DRM 2.8.0 featuresMarek Olšák
2011-03-01st/egl: Implement swapbuffer throttlingThomas Hellstrom
When doing copy swapbuffers using drm, throttle on outstanding copy operations. Introduces a new environment variable, EGL_THROTTLE_FENCES that the user can use to indicate the desired number of outstanding swapbuffers, or disable throttling using EGL_THROTTLE_FENCES=0. This can and perhaps should be extended to the pageflip case as well, since with some hardware pageflips can be pipelined. In case the pageflip syncs, the throttle operation will be a no-op anyway. Update copyright notices. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-03-01st/egl/drm: Rework swapbuffersThomas Hellstrom
Use the pageflip ioctl when available. Otherwise, or when the backbuffer contents need to be preserved, fall back to a copy operation. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-03-01st/egl: Add a helper to perform a copy swap on a resource surfaceThomas Hellstrom
The copy swap can be used when we need to preserve the contents of the back buffer or when there is no way to do native page-flipping. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-03-01st/egl: Move the copy context to the native display structureThomas Hellstrom
This makes it usable also for native helpers. Also add inline functions to access the context and to uninit the native display structure. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-03-01st/dri: one more missing array sizeDave Airlie
whats one more between friends. again bnf on irc.
2011-03-01st/dri: fix missing array size init.Dave Airlie
Init array size to 1, reported by bnf on irc.
2011-03-01egl/st: add array size initialisorDave Airlie
reported by bnf on irc.
2011-03-01nouveau: remove nouveau_stateobj.hBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nvc0: fix a crash on context destructionBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nouveau: ensure vbo_dirty is set when buffer write transfer completeBen Skeggs
This introduces a shared nouveau_context struct to track such things. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nouveau: fix leak of nouveau_mman structsBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nvc0: port to common fence/mm/buffer codeBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>