[Mesa-dev] [PATCH 1/2 v2] mesa: Only require Gen'ed name for glBind{Framebuffer, Renderbuffer} on desktop

Matt Turner mattst88 at gmail.com
Mon Dec 3 11:49:25 PST 2012

On Mon, Dec 3, 2012 at 9:26 AM, Ian Romanick <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
> Desktop OpenGL implementations that support either
> GL_ARB_framebuffer_object or OpenGL 3.0 must require names from
> glGenFramebuffers for glBindFramebuffer.  We have enforced this rule for
> quite some time.  However, OpenGL ES 1.0, 2.0, and 3.0 implementations
> are required to allow user-defined names (e.g., not from
> glGenFramebuffers{OES,}).
> The Intel drivers have hacked around this by not enabling
> GL_ARB_framebuffer_object in an ES context.  Instead, just pick the
> correct behavior in _mesa_BindFramebuffer based on the context API.
> v2: Perform same check in _mesa_BindRenderbuffer too.
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> Cc: Chad Versace <chad.versace at linux.intel.com>
> Cc: Matt Turner <mattst88 at gmail.com>
> ---

Nice. These patches fix es3conform's framebuffer_srgb_draw and
transform_feedback_misc tests.

Series is Reviewed-by: Matt Turner <mattst88 at gmail.com>

More information about the mesa-dev mailing list