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

Kenneth Graunke kenneth at whitecape.org
Mon Dec 3 11:40:32 PST 2012

On 12/03/2012 09:26 AM, Ian Romanick 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>
> ---
> The other patch in the series is unchanged.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

More information about the mesa-dev mailing list