aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* util: add lost code to util_make_fragment_tex_shader_writemask()Keith Whitwell2009-10-051-1/+9
| | | | | This got ported to ureg at some point, but lost the code that distinguishes it from regular util_make_fragment_tex_shader().
* r600: update vertex program selection for draw pathAndre Maasikas2009-10-051-5/+35
|
* st/dri: avoid segfault if we can't get a pixmap's buffersBen Skeggs2009-10-051-0/+3
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* nv50: support PIPE_FORMAT_X8R8G8B8_UNORMBen Skeggs2009-10-053-0/+12
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* nouveau: return pitch value from local_handle_from_texture()Ben Skeggs2009-10-051-0/+1
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Ben Skeggs2009-10-051-2/+2
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* st/dri: no need to request fake front buffer, only handle it being returnedBen Skeggs2009-10-051-3/+0
| | | | | | | | | | | | | 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 <[email protected]>
* util: Make assert a no-op on non-debug builds.José Fonseca2009-10-041-1/+4
| | | | | | | | | 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.
* llvmpipe: Ensure tile cache transfers are mapped before flushing it.José Fonseca2009-10-043-2/+9
|
* llvmpipe: Autogenerate lp_tile_soa.c from u_format.csv.José Fonseca2009-10-047-974/+339
| | | | | | | | | 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.
* util: Fix cpuid invocation for x86_64.José Fonseca2009-10-041-11/+23
|
* llvmpipe: Remove loop testing from format testing.José Fonseca2009-10-041-6/+0
| | | | Loop building will be rewritten.
* llvmpipe: Match header's protection macro with filename.José Fonseca2009-10-041-3/+3
|
* llvmpipe: Adjust format assertion.José Fonseca2009-10-041-3/+4
| | | | We support array layout too -- if it has a single channel.
* r300g: xRGB and RGBx formats.Corbin Simpson2009-10-043-0/+15
| | | | | We now have 48 GLX visuals. Pretty soon, we'll have 90+ visuals, only five of which ever get tested. :3
* intel: Suppress a compiler warning for an pointer->int castChris Wilson2009-10-031-3/+2
| | | | | | | | | | | | 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 <[email protected]>
* intel: Assert that relocation offsets are within the targetChris Wilson2009-10-031-1/+1
| | | | | | | 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 <[email protected]>
* llvmpipe: Fetch tile only if a color buffer is bound.José Fonseca2009-10-032-2/+11
|
* prog_parameter: Document the fact that Size may be > 4Nicolai Hähnle2009-10-031-1/+7
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* r300g: Do not abort on fragment program compiler errorNicolai Hähnle2009-10-032-4/+9
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* r300g: Fix memory leak in radeon_texture_from_shared_handleNicolai Hähnle2009-10-031-1/+6
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* r300g: Build in the trace and softpipe driver for xorg state trackerSedat Dilek2009-10-031-0/+2
| | | | | | | | | 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 ]
* radeon: Cope better with texture images with no miptrees.Michel Dänzer2009-10-031-2/+7
| | | | Fixes crash with compiz magnifier plugin.
* swrast: Move up state validation in _swrast_ReadPixels.Michel Dänzer2009-10-031-3/+3
| | | | This ensures the driver won't map the wrong set of textures.
* meta: Make sure texImage->TexFormat is valid for CopyTex(Sub)Image.Michel Dänzer2009-10-031-0/+7
|
* r300g: Remove an unnecessarily created pipe buffer (and thus fix a leak)Nicolai Hähnle2009-10-031-7/+0
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* st/dri: Install APPLE_vertex_array_object functionsNicolai Hähnle2009-10-031-0/+2
| | | | | | | 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 <[email protected]>
* r300g: Reset vbo_offset after allocation of a new bufferNicolai Hähnle2009-10-031-2/+3
| | | | | | This fixes the glxgears bug, among other things. Signed-off-by: Nicolai Hähnle <[email protected]>
* st/dri: Install ARB_vertex_array_object functionsNicolai Hähnle2009-10-031-0/+2
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* mesa: optimized _mesa_meta_BlitFramebuffer() for src=texture caseBrian Paul2009-10-021-0/+130
| | | | | If the src renderbuffer is actually a texture, we can directly use that texture as the src and avoid a copy.
* i965: Use a little stack space to avoid a malloc in wm_get_binding_table.Eric Anholt2009-10-021-3/+1
|
* mesa: Remove another unexplained Flush call, this time from BindFramebuffer.Eric Anholt2009-10-021-3/+0
| | | | | Combined with the previous fix, it takes cairo-gl firefox-talos-gfx time from 120 seconds to 90 seconds on my GM45.
* Revert "Flush driver, not just tnl module."Eric Anholt2009-10-021-26/+0
| | | | | | | | | | 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
* intel: Remove an unexplained flush from intelClearWithBlit.Eric Anholt2009-10-021-2/+0
|
* r600: remove support for host-based ibsAlex Deucher2009-10-022-150/+80
| | | | | | no longer used now that the hw supports this natively. Also, clean up some formatting.
* mesa/st: don't reuse vertex buffers for bitmap, clear quadsKeith Whitwell2009-10-022-2/+24
| | | | | | | | | | 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.
* st/xorg: Use PIPE_TRANSFER_MAP_DIRECTLY flag in EXA PrepareAccess hook.Michel Dänzer2009-10-021-59/+34
| | | | | | | Propagate NULL return value. This also allows removing the DRM_MODE_FEATURE_DIRTYFB specific pixmap management hacks.
* gallium: Add PIPE_TRANSFER_MAP_DIRECTLY usage flag.Michel Dänzer2009-10-021-1/+12
| | | | | Asks the driver to map the texture storage directly or return NULL if that's not possible.
* gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer2009-10-0218-163/+63
| | | | | | 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.
* intel: wrap _mesa_meta_GenerateMipmap()Brian Paul2009-10-021-0/+27
| | | | | | | | 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).
* mesa: added _mesa_meta_check_generate_mipmap_fallback()Brian Paul2009-10-022-3/+28
|
* g3dvl: Formatting.Younes Manton2009-10-011-175/+172
|
* g3dvl: Delete state_trackers/g3dvl, other unused files.Younes Manton2009-10-0123-4778/+0
|
* g3dvl: Copyright blocks.Younes Manton2009-10-0129-0/+783
|
* st/xvmc: Set default CSC matrix to BT.601, no ProcAmp, full range RGB.Younes Manton2009-10-011-0/+11
|
* g3dvl: Color space conv interface & vl impl.Younes Manton2009-10-018-113/+249
| | | | | | | | Interface is pipe_video_context::set_csc_matrix(). vl_csc.h defines some helpers to generate CSC matrices based on one of the color standard and a user defined ProcAmp (brightness, contrast, saturation, hue).
* i915: Add stub ARB_occlusion_query support under a driconf debug option.Eric Anholt2009-10-012-1/+10
| | | | | This is useful for enabling our GLSL testcases using the 2.0 entrypoints even though we don't have full GL 2.0.
* i915: Add optional support for ARB_fragment_shader under a driconf option.Eric Anholt2009-10-014-3/+15
| | | | | | | | | | Other vendors have enabled ARB_fragment_shader as part of OpenGL 2.0 enablement even on hardware like the 915 with no dynamic branching or dFdx/dFdy support. But for now we'll leave it disabled because we don't do any flattening of ifs or loops, which is rather restrictive. This support is not complete, and may be unstable depending on your shaders. It passes 10/15 of the piglit glsl tests, but hangs on glean glsl1.
* i915: Add support or fallbacks for GLSL fragment shader opcodes.Eric Anholt2009-10-011-4/+158
|
* i915: Add support for varying inputs.Eric Anholt2009-10-012-2/+23
|