Lines Matching refs:surface

41  * An implementation of SurfaceView that uses the dedicated surface for
47 * <li>Manages a surface, which is a special piece of memory that can be
49 * <li>Manages an EGL display, which enables OpenGL to render into a surface.
86 * By default GLSurfaceView will create a PixelFormat.RGB_888 format surface. If a translucent
87 * surface is required, call getHolder().setFormat(PixelFormat.TRANSLUCENT).
88 * The exact format of a TRANSLUCENT surface is device dependent, but it will be
89 * a 32-bit-per-pixel surface with 8 bits per component.
174 * when the surface is created, or when {@link #requestRender} is called.
241 // underlying surface is created and destroyed
256 * whenever a surface is created. A GLWrapper can be used to wrap
274 * whenever a surface is created. The default value is zero.
384 * a window surface will be created with a null attribute list.
417 * view will choose an RGB_888 surface with a depth buffer depth of
435 * view will choose an RGB_888 surface with a depth buffer depth of
480 * is RENDERMODE_WHEN_DIRTY, the renderer only rendered when the surface
685 * Called when the surface is created or recreated.
705 * @param config the EGLConfig of the created surface. Can be used
711 * Called when the surface changed size.
713 * Called after the surface is created and whenever
714 * the OpenGL ES surface size changes.
795 * @return null if the surface cannot be constructed.
799 void destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface);
810 // This exception indicates that the surface flinger surface
811 // is not valid. This can happen if the surface flinger surface has
822 EGLSurface surface) {
823 egl.eglDestroySurface(display, surface);
971 * This class will choose a RGB_888 surface with
1044 * Create an egl surface for the current SurfaceHolder surface. If a surface
1045 * already exists, destroy it before creating the new surface.
1047 * @return true if the surface was created successfully.
1068 * surface.
1073 * Create an EGL surface we can render into.
1093 * the context is current and bound to a surface.
1098 * SurfaceView surface has been destroyed.
1136 * Display the current render surface.
1329 // When pausing, release the EGL surface:
1332 Log.i("GLThread", "releasing EGL surface because paused tid=" + getId());
1360 // Have we lost the SurfaceView surface?
1363 Log.i("GLThread", "noticed surfaceView surface lost tid=" + getId());
1373 // Have we acquired the surface view surface?
1376 Log.i("GLThread", "noticed surfaceView surface acquired tid=" + getId());
1432 // Destroy and recreate the EGL surface.
1537 // Other errors typically mean that the current surface is bad,
1538 // probably because the SurfaceView surface has been destroyed,