summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-02rgtc: remove GL types from this file.Dave Airlie
I'd like to share this file with gallium u_format stuff. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02rgtc: move the texel fetch into common unsigned/signed code.Dave Airlie
This function can be done in the include file also. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02rgtc: fix issues with compressor and signed types.Dave Airlie
With signed types we weren't hitting this test however the comment stating this doesn't happen often doesn't apply when using signed types since an all 0 block is quite common which isn't abs min or max. this fixes the limits correctly again also. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02rgtc: don't try to access off the end of the block.Dave Airlie
if the values are all in the last dword, the high bits can be 0, This fixes a valgrind warning I saw when playing with mipmaps. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02rgtc: move to using ubyte for fetch instead of chan + fix limitDave Airlie
My previous fix to the byte max was incorrect. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02st/mesa: use RGTC for GL_COMPRESSED_RED/RG if possibleMarek Olšák
With proper fallback formats.
2011-03-01svga: reduce MAX_DMA_SIZE to 4MBBrian Paul
2011-03-01vbo: add vbo_always_unmap_buffers()Brian Paul
Drivers can call this function as needed. It tells the VBO module to always unmap the current glBegin/glEnd VBO when we flush. Otherwise it's possible to be in a flushed state but still have the VBO mapped.
2011-03-01vbo: generate GL_INVALID_VALUE for bad glVertexAttrib indexBrian Paul
2011-03-01i915g: remove extra semicolonBrian Paul
2011-03-01mesa: Revert most of 3158cc7d because it causes other breakageIan Romanick
2011-03-02r300g: accelerate resoure_copy_region for rgtcMarek Olšák
2011-03-01scons: Use Flex and Bison to generate lexer/parser files.Kenneth Graunke
This gets it building again here; I'll leave it up to the SCons maintainers to make further improvements.
2011-03-01glsl: Rename .lpp to .ll and .ypp to .yy.Kenneth Graunke
SCons has built-in support for .ll and .yy, but not .lpp and .ypp. Since there's no real benefit to using the old names, change them.
2011-03-02rgtc: fix fetch function limits for signed typesDave Airlie
2011-03-02rgtc: fixup mipmap generationDave Airlie
this allows swrast to pass mipmap generation for these formats.
2011-03-02swrast/rgtc: fix rendering issues introduced when fix constantsDave Airlie
The max value was wrong and this showed up in the piglit tests.
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-01mesa: Fix build breakage caused by c73e6ceIan Romanick
2011-03-01egl: Add EGL_WL_bind_wayland_displayBenjamin Franzke
2011-03-01Add generated parser / lexer files to gitignore listsIan Romanick
2011-03-01mesa: Remove files generated by flex and bison from GITIan Romanick
These files were for the ARB_vertex_program / ARB_fragement_program assembler.
2011-03-01glcpp: Remove files generated by flex and bison from GITIan Romanick
2011-03-01glsl: Remove files generated by flex and bison from GITIan Romanick
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-01st/mesa: probably handle instanced drawingChristian König
Remove the previous workaround for instanced drawing and implement it correctly.
2011-03-01i915g: fix i915_winsys_batchbuffer_writeDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-01intel: Support glCopyTexImage() from ARGB8888 to XRGB8888.Kenneth Graunke
Nexuiz was hitting a software fallback.
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-01i965: Use negative relocation deltas to minimse vertex uploadsChris Wilson
With relaxed relocation checking in the kernel, we can specify a negative delta (i.e. pointing outside of the target bo) in order to fake a range in a large buffer. We only then need to upload the elements used and adjust the buffer offset such that they correspond with the indices used in the DrawArrays. (Depends on libdrm 0209428b3918c4336018da9293cdcbf7f8fedfb6) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-01i965: Undo 'continuation of vb packets'Chris Wilson
This breaks nexuiz for unknown reason; disable until a true fix can be found.
2011-03-01i965: Fix uploading of shortened vertex packetsChris Wilson
... handle all cases and not just the interleaved upload. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-01i965: Upload all vertices usedChris Wilson
... and take advantage of start_vertex_bias to trim to [min_index, max_index] where possible (i.e. when we need to upload all arrays). Fixes half_float_vertex(misc.fillmode.wireframe) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34595 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
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-01Revert "i965/fs: Correctly set up gl_FragCoord.w on Sandybridge."Kenneth Graunke
This reverts commit 4a3b28113c3d23ba21bb8b8f5ebab7c567083a6d, as it caused a regression on Ironlake (bug #34646).
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>