Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-15 | Replace _mesa_strtod with _mesa_strtof. | Marcin Baczyński | |
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-03-13 | mesa: Fix memory leak in decompress-with-blit. | Keith Whitwell | |
(cherry picked from commit f05a4ee6f2840590c90da4be2fe5c6295410a5af) | |||
2010-03-12 | dri/r700: include shader/programopt.h instead of programopt.c. | Luc Verhaegen | |
Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-03-12 | Grammar and spelling fixes | Jeff Smith | |
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-03-11 | radeon: Fix memory leaks from early return. | Vinson Lee | |
2010-03-11 | st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/ | Brian Paul | |
2010-03-11 | st/mesa: fix st_set_framebuffer_surface() state validation | Brian Paul | |
Set the _NEW_BUFFERS flag and remove the code which updated the parent framebuffer size. Normal Mesa state validation will do that. Fixes issues with Warsow on r300g and possibly other bugs. | |||
2010-03-11 | ARB prog parser: added (float) casts and regenerate files | Brian Paul | |
2010-03-10 | windows: fix compilation errors and warnings | Karl Schultz | |
2010-03-10 | st/mesa: fix incorrect glCopyPixels between window/FBO | Brian Paul | |
There was a DrawBuffer/ReadBuffer typo and we were neglecting to invert the texture coords when copying from a window to an FBO. Plus, add some surface dump/debug code (disabled). (cherry picked from commit 34f02071618624263eba839b5aeb930d0e794078) | |||
2010-03-10 | st/mesa: fix incorrect glDrawPixels into FBO | Brian Paul | |
We weren't inverting the textured quad when drawing into an fbo. (cherry picked from commit 8d3f629a13afb0d6acafc7a007972fdc5efe6847) | |||
2010-03-08 | radeon: don't attempt to use alternate blit formats for depth buffers | Alex Deucher | |
noticed by fredrikh on IRC. | |||
2010-03-08 | st/mesa: don't detach renderbuffer, surface in st_finish_render_texture() | Brian Paul | |
There's no reason to release the renderbuffer from the framebuffer object or release the gallium surface in this function (they're reference counted). In fact, we don't want to do this because we may later use the texture as a pixel source (ex: glBlitFramebuffer) and need the surface. Fixes fd.o bug 26923 and is part of the fix for bug 26932. | |||
2010-03-08 | r600: enable GL_ARB_pixel_buffer_object | Alex Deucher | |
2010-03-08 | mesa: add additional missing z formats for render to texture | Brian Paul | |
Allow render to texture for X8_Z24 and Z24_X8 formats. Replace big if/else with switch, etc. | |||
2010-03-08 | radeon/r200/r600: allow src and dst BOs to be placed in GTT during blit | Alex Deucher | |
2010-03-08 | radeon/r200/r600: reset bos when validating buffers during blit | Alex Deucher | |
2010-03-08 | r600: recalculate point size, if point min/max size changes | Alex Deucher | |
2010-03-08 | r600: no need to flush on context init | Alex Deucher | |
2010-03-08 | r300: don't enable EXT_packed_depth_stencil | Maciej Cencora | |
R300 hw doesn't support sampling from Z24_S8 or S8_Z24 formats. | |||
2010-03-08 | radeon: no need to emit full state twice after flush | Maciej Cencora | |
2010-03-08 | r300: allow src and dst BOs to be placed in GTT during blit | Maciej Cencora | |
Fixes some relocation failures | |||
2010-03-08 | r300: reset bos when validating buffers during blit | Maciej Cencora | |
2010-03-08 | radeon: fallback to software in glCopyTexImage if blit isn't available | Maciej Cencora | |
2010-03-08 | r300: VAP flush is needed only when vertex program or constants are changed | Maciej Cencora | |
2010-03-08 | r300: recalculate point size, if point min/max size changes | Maciej Cencora | |
Fixes two wine d3d9 unit tests | |||
2010-03-08 | r300: no need to flush on context init | Maciej Cencora | |
2010-03-08 | r300: remove unnecessary code | Maciej Cencora | |
_tnl_UpdateFixedFunctionProgram is already called in r300_draw.c | |||
2010-03-08 | mesa: add render-to-texture case for MESA_FORMAT_S8_Z24 | Brian Paul | |
2010-03-08 | mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 renderbuffer | Brian Paul | |
MESA_FORMAT_Z16 has no stencil bits. | |||
2010-03-05 | meta: Use the DrawBuffer's stencil size | Ian Romanick | |
Previously the code was erroneously using the stencil size of the context instead of the stencil size of the DrawBuffer. With FBOs these may be different. As a result, clearing the stencil buffer of an FBO bound to a context that doesn't have stencil would fail. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-03-05 | swrast: Remove redundant test of the visual's accumulation buffer size | Ian Romanick | |
If the visual doesn't have an accumulation buffer, the renderbuffer passed into _swrast_clear_accum_buffer will be NULL anyway. There is no reason the check the visual. Moreover, the test erroneously checks the context's visual instead of the visual of the current DrawBuffer. With FBOs these may be different. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-03-05 | swrast: Adjust colors based on ReadBuffer visual, not context visual | Ian Romanick | |
In the presence of FBOs, the visual of the context may not match the, possibly fake, visual of the current ReadBuffer. Note that the caller of adjust_colors correctly uses the visual of the ReadBuffer. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-03-05 | swrast: Remove stray comment that mentions ctx->Visual | Ian Romanick | |
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-03-05 | i965: Only use the effective subset of the WM sampler key. | Eric Anholt | |
The whole structure is 836 bytes, but if only the first one or two samplers are used (as is common), the part that matters is only 56 or 108 bytes. By using just that subset as the key (since the key size is also part of the key), we improve firefox-talos-gfx performance by 1%. | |||
2010-03-05 | intel: Remove support for the DRI1 TFP extension. | Eric Anholt | |
2010-03-05 | i965: Remove the paths for making a const surface object for a NULL BO. | Eric Anholt | |
2010-03-05 | i965: Remove the unused SDC BO pointer from the sampler state key. | Eric Anholt | |
Since it's a BO pointer, it already lives outside the key in brw->wm.sdc_bo[] which is used for sampler state lookup and setup. | |||
2010-03-05 | i965: Rename SNB brw_*_key structs to gen6_*_key structs. | Eric Anholt | |
2010-03-05 | i965: Pack gen6 blend_state_key structure. | Eric Anholt | |
2010-03-05 | intel: Only do batchbuffer debug if --enable-debug is used. | Eric Anholt | |
This saves 6.6KB on the 965 driver, and appears to speed firefox-talos-gfx up by 1-2%. Unlike many other asserts in the driver, when we make a mistake that would trigger one of these it generally shows up all the time for developers, so turning it off for release seems fine. | |||
2010-03-05 | intel: Replace batch macro contents with function calls. | Eric Anholt | |
This manages to cut down another 3800 bytes. | |||
2010-03-05 | intel: Move the assertions about reloc delta from the macros to the function. | Eric Anholt | |
Cuts another 1800 bytes from the driver. | |||
2010-03-05 | intel: Check that the batch is mapped per BEGIN, not each OUT. | Eric Anholt | |
Shaves 800 bytes off the driver. | |||
2010-03-05 | i965: Try to assign SNB SF inputs to outputs. | Eric Anholt | |
2010-03-05 | i965: Fix the SNB SF input size. | Eric Anholt | |
2010-03-05 | Always return VOLATILE for ObjectPurgeable(VOLATILE) | Chris Wilson | |
Fixes fdo bug 26128. The spec mandates that VOLATILE is returned from ObjectPurgeable(VOLATILE) irrespective of the actual status of the object upon completion of marking it purgeable. Conform to the spec, even though it seems wrong. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> | |||
2010-03-05 | mesa: minor reformatting, new comments | Brian Paul | |
2010-03-05 | mesa: whitespace fixes, 80-column wrapping, etc. | Brian Paul | |
2010-03-05 | Merge branch 'object-purgeable' | Chris Wilson | |
Acked-by: Brian Paul <brianp@vmware.com> |