summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
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>
2011-03-01r600g: add NV_conditional_render support.Dave Airlie
This is reliant on a drm patch that I posted on the list + a version bump. These will appear in drm-next today. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-01r600g: start using drm minor version to enable things.Dave Airlie
If the drm minor version is > 9 (i.e. whats in drm-next), we enable s3tc + texture tiling by default now. this changes R600_FORCE_TILING to R600_TILING which can be set to false to disable tiling on working drm. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-01nv50: multiply polygon offset units by 2Ben Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nv50: sync textures with render targets ourselvesBen Skeggs
Port of the nvc0 commit doing the same. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nv50: move onto common linear buffer managerBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nouveau: common linear buffer manager, ported from nv50/nvc0 driversBen Skeggs
nv50_resource is being called nv04_resource now temporarily, to avoid a naming conflict with nouveau_resource from libdrm. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nouveau: create linear gart/vram mman in common screen initBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nouveau: fix fence_ref() where fence and *ref are the same fenceBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nouveau: fix compiler complaintBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nv50: make mm available as common codeBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>