From 71cc510ef6be9792a0c1356a4412c30a6ca23119 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 13 Nov 2013 13:26:03 -0800 Subject: [PATCH] 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 Reviewed-by: Alex Deucher Reviewed-by: Kenneth Graunke --- 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 64268327c86..d2556da997a 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.
  • GL_ARB_clear_buffer_object
  • GL_ARB_viewport_array on i965.
  • GL_AMD_shader_trinary_minmax.
  • -
  • GL_EXT_framebuffer_blit on r200.
  • +
  • GL_EXT_framebuffer_blit on r200 and radeon.
  • Reduced memory usage for display lists.
  • OpenGL 3.3 support on nv50, nvc0
  • diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c index 7d65e2eb597..c4f37aa8b7f 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; -- 2.30.2