Mesa (master): mesa: Disable GL_EXT_framebuffer_object in core profiles and OpenGL 3.1

Ian Romanick idr at kemper.freedesktop.org
Sat Jul 27 05:57:26 UTC 2013


Module: Mesa
Branch: master
Commit: b55c1638ad0da8980837376e44cffa41bb47b9d1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b55c1638ad0da8980837376e44cffa41bb47b9d1

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 18 16:48:49 2013 -0700

mesa: Disable GL_EXT_framebuffer_object in core profiles and OpenGL 3.1

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>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/main/extensions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 },




More information about the mesa-commit mailing list