[Mesa-dev] [PATCH] mesa: Disable GL_EXT_framebuffer_object in core profiles and OpenGL 3.1
Kenneth Graunke
kenneth at whitecape.org
Thu Jul 18 19:04:36 PDT 2013
On 07/18/2013 05:05 PM, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> GL_EXT_framebuffer_object differs from GL_ARB_framebuffer_object in ways
> that we can't and don't implement in core profiles. Exposing it is a
> lie, so we shouldn't do that.
>
> It's possible the some other GL_EXT_framebuffer_* extensions should be
> disabled, but it's not quite so clear cut.
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
> src/mesa/main/extensions.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
> index e0428c6..4e46cf0 100644
> --- a/src/mesa/main/extensions.c
> +++ b/src/mesa/main/extensions.c
> @@ -184,7 +184,7 @@ static const struct extension extension_table[] = {
> { "GL_EXT_framebuffer_blit", o(EXT_framebuffer_blit), GL, 2005 },
> { "GL_EXT_framebuffer_multisample", o(EXT_framebuffer_multisample), GL, 2005 },
> { "GL_EXT_framebuffer_multisample_blit_scaled", o(EXT_framebuffer_multisample_blit_scaled), GL, 2011 },
> - { "GL_EXT_framebuffer_object", o(dummy_true), GL, 2000 },
> + { "GL_EXT_framebuffer_object", o(dummy_true), GLL, 2000 },
> { "GL_EXT_framebuffer_sRGB", o(EXT_framebuffer_sRGB), GL, 1998 },
> { "GL_EXT_gpu_program_parameters", o(EXT_gpu_program_parameters), GLL, 2006 },
> { "GL_EXT_gpu_shader4", o(EXT_gpu_shader4), GL, 2006 },
>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
More information about the mesa-dev
mailing list