See below: On Tuesday, September 4, 2012 3:45:27 PM UTC+1, guich wrote: > > Hi, > > I'm changing a program from standard graphics to opengl. The way that > my program behave was: > > 1. Update internal bitmap information. > 2. Draw on the offscreen. > 3. Draw the offscreen image on screen. > > On opengl, i just noticied that anything that you draw before calling > requestRender is IGNORED. My idea was to first send opengl commands > and then request opengl's surface to draw these. Is there a way to let > it work like this? >
Which version of OpenGL ES are you targeting? > > Another way to look at the problem: suppose two threads are updating > part of the screen using opengl. OpenGL ES does not support 2 threads using the same context. Context sharing between threads is possible on some devices but is not supported on all. > How exactly can one thread update the > part of the screen that it is drawing, leaving the other part > untouched? > Only draw on the part of the screen that you need to update. > thanks > > guich > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

