Re: OpenGL on Surface Flinger Vs Gaming Application

2009-05-22 Thread Abdul Rahman
Thank you all for the information. I got it. So it is possible when the GL driver supports multiple contexts and there is no framework restriction as that is the one i was concerned about. I am checking on the SurfaceView Vs Surface Flinger Details with respect to the OpenGL context. Meanwhilte

OpenGL on Surface Flinger Vs Gaming Application

2009-05-21 Thread AbdulRahman
Hi One Doubt: I am looking in to Surface Flinger Design that is on top of OpenGL. How does Surface Flinger work in synch with Gaming Application that can directly interact with OpenGL ? Whether Surface Flinger and the gaming application maintain separate OpenGL context ? Any input on this would

Re: OpenGL on Surface Flinger Vs Gaming Application

2009-05-21 Thread Dave Sparks
Right. On the G1, if an app needs an OpenGL context, it takes over the frame buffer and 2D rendering is suspended until the application relinquishes control. As Dianne indicated, there is a lot of work going on our internal master branch related to supporting multiple OpenGL contexts. This

Re: OpenGL on Surface Flinger Vs Gaming Application

2009-05-21 Thread pixelflinger
Hi, Assuming you have a GL driver that supports multiple contexts (which is NOT the case on the G1), you can have several applications using GLES at the same time; but NOT on the same surface. You cannot bind 2 contexts to the same surface. Now, the framebuffer *is* a surface and it is used by