Mesa (master): radeon: Enable GL_EXT_framebuffer_blit
Ian Romanick
idr at kemper.freedesktop.org
Mon Jan 27 21:22:30 UTC 2014
Module: Mesa
Branch: master
Commit: 71cc510ef6be9792a0c1356a4412c30a6ca23119
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=71cc510ef6be9792a0c1356a4412c30a6ca23119
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Nov 13 13:26:03 2013 -0800
radeon: Enable GL_EXT_framebuffer_blit
The dd_function_table::BlitFramebuffer is already initialized to
_mesa_meta_BlitFramebuffer, so it should just work.
Tested on a Radeon 7500 (OpenGL renderer string: Mesa DRI R100 (RV200
5157) TCL DRI2). I couldn't do a full piglit run because it would tank
the system with or without this patch. I just ran all the blit tests
(-t blit to piglit-run.py). Only fbo-sys-sub-blit failed. All of the
other tests that weren't skipped (i.e., all the multisample and sRGB
tests skip) passed.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
docs/relnotes/10.1.html | 2 +-
src/mesa/drivers/dri/radeon/radeon_context.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/relnotes/10.1.html b/docs/relnotes/10.1.html
index 6426832..d2556da 100644
--- a/docs/relnotes/10.1.html
+++ b/docs/relnotes/10.1.html
@@ -48,7 +48,7 @@ Note: some of the new features are only available with certain drivers.
<li>GL_ARB_clear_buffer_object</li>
<li>GL_ARB_viewport_array on i965.</li>
<li>GL_AMD_shader_trinary_minmax.</li>
-<li>GL_EXT_framebuffer_blit on r200.</li>
+<li>GL_EXT_framebuffer_blit on r200 and radeon.</li>
<li>Reduced memory usage for display lists.</li>
<li>OpenGL 3.3 support on nv50, nvc0</li>
</ul>
diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c
index 7d65e2e..c4f37aa 100644
--- a/src/mesa/drivers/dri/radeon/radeon_context.c
+++ b/src/mesa/drivers/dri/radeon/radeon_context.c
@@ -336,6 +336,7 @@ r100CreateContext( gl_api api,
ctx->Extensions.ARB_texture_mirror_clamp_to_edge = true;
ctx->Extensions.ATI_texture_env_combine3 = true;
ctx->Extensions.ATI_texture_mirror_once = true;
+ ctx->Extensions.EXT_framebuffer_blit = true;
ctx->Extensions.EXT_texture_env_dot3 = true;
ctx->Extensions.EXT_texture_filter_anisotropic = true;
ctx->Extensions.EXT_texture_mirror_clamp = true;
More information about the mesa-commit
mailing list