[Mesa-dev] [PATCH 6/8] radeon: Enable GL_EXT_framebuffer_blit

Ian Romanick idr at freedesktop.org
Fri Jan 24 14:18:24 PST 2014


From: Ian Romanick <ian.d.romanick at intel.com>

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>
---
 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 c9d3b59..9f540ed 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>
 </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;
-- 
1.8.1.4



More information about the mesa-dev mailing list