Re: [android-developers] SurfaceHolder.setFormat() only working when called from the *wrong* thread?

2013-08-27 Thread akash khandare
On Aug 23, 2013 11:49 PM, "Latimerius" wrote: > > In a testing program I'm playing with currently, I want to use setFormat() to adapt the pixel format of my surface to the chosen EGL config before I pass the surface holder to eglCreateWindowSurface(). > > Now, I call EGL from my render thread and

[android-developers] SurfaceHolder.setFormat() only working when called from the *wrong* thread?

2013-08-23 Thread Latimerius
In a testing program I'm playing with currently, I want to use setFormat() to adapt the pixel format of my surface to the chosen EGL config before I pass the surface holder to eglCreateWindowSurface(). Now, I call EGL from my render thread and I know SurfaceHolder.setFormat() is documented to have