summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-10-05nv50: support PIPE_FORMAT_X8R8G8B8_UNORMBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-10-05nouveau: return pitch value from local_handle_from_texture()Ben Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-10-05mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Ben Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-10-05st/dri: no need to request fake front buffer, only handle it being returnedBen Skeggs
The previous behaviour was incorrect, and resulted in EXT_tfp being broken for DDX drivers that implement the correct behaviour (intel/radeon/nouveau). In the cases where a fake front buffer is required, the X server will return one when requesting __DRI_BUFFER_FRONT_LEFT. The Xorg state tracker (aka modesetting_drv) is likely broken now until it's modified to match the other drivers. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-10-04r200: remove subpixel offset from viewportFrederic Crozat
Fixes bug fdo 20340 for r200.
2009-10-04util: Make assert a no-op on non-debug builds.José Fonseca
This ensures that an assertion like assert(expensive_test()); won't have any penalty on release builds. It also implies that no vital code should be in assert expressions.
2009-10-04llvmpipe: Ensure tile cache transfers are mapped before flushing it.José Fonseca
2009-10-04llvmpipe: Autogenerate lp_tile_soa.c from u_format.csv.José Fonseca
This is just a temporary change until we code generate the tile read/write functions in runtime. The new code avoids an extra memcpy that exists in u_tile.c functions, from which lp_tile_soa.c was originally based. This achieves up to 5% improvement, particularly in frames with little geometry overlap.
2009-10-04util: Fix cpuid invocation for x86_64.José Fonseca
2009-10-04llvmpipe: Remove loop testing from format testing.José Fonseca
Loop building will be rewritten.
2009-10-04llvmpipe: Match header's protection macro with filename.José Fonseca
2009-10-04llvmpipe: Adjust format assertion.José Fonseca
We support array layout too -- if it has a single channel.
2009-10-04r300/compiler Add support for more of the Sxx set instructionsNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-04r300/compiler: Emit flow control instructions and ALU result writes on R500Nicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-04r300g: xRGB and RGBx formats.Corbin Simpson
We now have 48 GLX visuals. Pretty soon, we'll have 90+ visuals, only five of which ever get tested. :3
2009-10-04r300/compiler: Refactor the radeon_pair code to support control flow ↵Nicolai Hähnle
instructions Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-04r300/compiler: Refactor to allow different instruction typesNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-04r300/compiler: Introduce aluresult register for branch operation supportNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03intel: Suppress a compiler warning for an pointer->int castChris Wilson
intel_pixel_read.c: In function ‘do_blit_readpixels’: intel_pixel_read.c:221: warning: cast from pointer to integer of different size Cast via an intermediate (GLintptr) instead and hope the result fits within GLuint... [It should as we simply do not support textures *that* large!] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-10-03intel: Assert that relocation offsets are within the targetChris Wilson
This should catch the common programming error where we attempt to emit a relocation to beyond the end of the target buffer. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-10-03r300/compiler: Introduce control flow instructions and refactor dataflowNicolai Hähnle
Note that control flow instruction support isn't actually fully functional yet. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03llvmpipe: Fetch tile only if a color buffer is bound.José Fonseca
2009-10-03Merge branch 'master' into r300-compilerNicolai Hähnle
2009-10-03prog_parameter: Document the fact that Size may be > 4Nicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300g: Do not abort on fragment program compiler errorNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300g: Fix memory leak in radeon_texture_from_shared_handleNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300g: Build in the trace and softpipe driver for xorg state trackerSedat Dilek
Same as in src/gallium/winsys/drm/intel/xorg/Makefile Thanks MrCooper for explanations on IRC [ Summary amended by Michel Dänzer to clarify that this is related to the xorg state tracker ]
2009-10-03radeon: Cope better with texture images with no miptrees.Michel Dänzer
Fixes crash with compiz magnifier plugin.
2009-10-03swrast: Move up state validation in _swrast_ReadPixels.Michel Dänzer
This ensures the driver won't map the wrong set of textures.
2009-10-03meta: Make sure texImage->TexFormat is valid for CopyTex(Sub)Image.Michel Dänzer
2009-10-03r300g: Remove an unnecessarily created pipe buffer (and thus fix a leak)Nicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03st/dri: Install APPLE_vertex_array_object functionsNicolai Hähnle
Besides from being necessary to use that extension, it also fixes a crash when deleting the currently bound vertex array object. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300g: Reset vbo_offset after allocation of a new bufferNicolai Hähnle
This fixes the glxgears bug, among other things. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03st/dri: Install ARB_vertex_array_object functionsNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300: Workaround problem on R500 with very large fragment programsNicolai Hähnle
The non-KMS interface is to blame here. In theory, a proper fix could be produced that works for the KMS interface only, but it require cleaning a lot of mess. Easier to just do it right in r300g. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-02mesa: optimized _mesa_meta_BlitFramebuffer() for src=texture caseBrian Paul
If the src renderbuffer is actually a texture, we can directly use that texture as the src and avoid a copy.
2009-10-02i965: Use a little stack space to avoid a malloc in wm_get_binding_table.Eric Anholt
2009-10-02mesa: Remove another unexplained Flush call, this time from BindFramebuffer.Eric Anholt
Combined with the previous fix, it takes cairo-gl firefox-talos-gfx time from 120 seconds to 90 seconds on my GM45.
2009-10-02Revert "Flush driver, not just tnl module."Eric Anholt
This reverts commit df058298e1570eea8712f9bb051f674fab2eaf24. It didn't explain why it was required, doesnt appear to be required, and is a significant performance penalty for cairo-gl firefox. Conflicts: src/mesa/main/fbobject.c
2009-10-02intel: Remove an unexplained flush from intelClearWithBlit.Eric Anholt
2009-10-02r600: remove support for host-based ibsAlex Deucher
no longer used now that the hw supports this natively. Also, clean up some formatting.
2009-10-02mesa/st: don't reuse vertex buffers for bitmap, clear quadsKeith Whitwell
Currently using max_slots > 1 will cause synchronous rendering if the driver flushes its command buffers between one bitmap and the next. Need to improve buffer_write to allow NO_WAIT (as well as no_flush) updates to buffers where we know there is no conflict with previous data.
2009-10-02st/xorg: Use PIPE_TRANSFER_MAP_DIRECTLY flag in EXA PrepareAccess hook.Michel Dänzer
Propagate NULL return value. This also allows removing the DRM_MODE_FEATURE_DIRTYFB specific pixmap management hacks.
2009-10-02gallium: Add PIPE_TRANSFER_MAP_DIRECTLY usage flag.Michel Dänzer
Asks the driver to map the texture storage directly or return NULL if that's not possible.
2009-10-02gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer
Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags corresponding to them.
2009-10-02docs: document default texture binding fixBrian Paul
2009-10-02mesa: fix incorrect default texture binding in unbind_texobj_from_texunits()Brian Paul
If we deleted a currently bound texture, we were always reverting the texture binding to the default 1D texture rather than the proper default texture.
2009-10-02intel: wrap _mesa_meta_GenerateMipmap()Brian Paul
Need to check if we'll take the software path so which requires mapping the src texture image. Fixes crash in piglit gen-compressed-teximage, bug 24219. However, the test still does not pass (it may never have).
2009-10-02mesa: added _mesa_meta_check_generate_mipmap_fallback()Brian Paul
2009-10-02gallium/xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()Brian Paul
The parameter is a bitmask.