Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Chad Versace
On 05/02/2012 06:32 PM, Chad Versace wrote: > Mesa has problems in the way it implements glBindFramebuffer and > glBindFramebufferEXT due to both being implemented by an overloaded > _mesa_BindFramebufferEXT. This problem causes an Android app [1] to crash, > and I want your opinion on how we shou

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Ian Romanick
On 05/03/2012 11:49 AM, Chad Versace wrote: On 05/03/2012 08:42 AM, Ian Romanick wrote: On 05/02/2012 06:32 PM, Chad Versace wrote: Quick Solution for the Intel drivers A quick solution may be as simple as removing ARB_fbo from the Intel drivers' GLES1/2

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Chad Versace
On 05/03/2012 08:42 AM, Ian Romanick wrote: > On 05/02/2012 06:32 PM, Chad Versace wrote: >> Quick Solution for the Intel drivers >> >> >> A quick solution may be as simple as removing ARB_fbo from the Intel drivers' >> GLES1/2 extension lists. >> >> Do you see

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/03/2012 10:33 AM, Eric Anholt wrote: > On Wed, 02 May 2012 18:32:01 -0700, Chad Versace > wrote: >> Solutions for core Mesa >> --- >> >> As for fixing _mesa_BindFramebufferEXT, I have two ideas. >> >> 1. Enforce in _mesa_Bin

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Eric Anholt
On Wed, 02 May 2012 18:32:01 -0700, Chad Versace wrote: > Solutions for core Mesa > --- > > As for fixing _mesa_BindFramebufferEXT, I have two ideas. > > 1. Enforce in _mesa_BindFramebufferEXT that no more than one of ARB_fbo >and EXT_fbo is enabled, then clean up its va

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Ian Romanick
On 05/02/2012 06:32 PM, Chad Versace wrote: Mesa has problems in the way it implements glBindFramebuffer and glBindFramebufferEXT due to both being implemented by an overloaded _mesa_BindFramebufferEXT. This problem causes an Android app [1] to crash, and I want your opinion on how we should fix

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Brian Paul
On 05/03/2012 04:36 AM, Marek Olšák wrote: On Thu, May 3, 2012 at 3:32 AM, Chad Versace wrote: (FYI, if I understand the gallium code, the only drivers that currently enable both are Intel, swrast, and OSMesa). Gallium also enables both if packed depth-stencil textures are supported (w

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Marek Olšák
On Thu, May 3, 2012 at 3:32 AM, Chad Versace wrote: >   (FYI, if I understand the gallium code, the only drivers that currently >   enable both are Intel, swrast, and OSMesa). Gallium also enables both if packed depth-stencil textures are supported (which is the case with most, if not all, driver

[Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-02 Thread Chad Versace
Mesa has problems in the way it implements glBindFramebuffer and glBindFramebufferEXT due to both being implemented by an overloaded _mesa_BindFramebufferEXT. This problem causes an Android app [1] to crash, and I want your opinion on how we should fix it. The problem is that in the five specs in