Lines Matching refs:surface
66 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width,
68 mRenderThread.setSurface(surface);
73 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width,
79 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) {
87 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
187 * Create an egl surface for the current SurfaceTexture surface. If a surface
188 * already exists, destroy it before creating the new surface.
190 * @return true if the surface was created successfully.
192 public boolean createSurface(SurfaceTexture surface) {
208 * surface.
213 * Create an EGL surface we can render into.
215 if (surface != null) {
216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null);
231 * the context is current and bound to a surface.
236 * SurfaceView surface has been destroyed.
253 * Display the current render surface.
339 throw new IllegalArgumentException("surface is null!");
343 public void setSurface(SurfaceTexture surface) {
344 // If the surface is null we're being torn down, don't need a
346 if (surface != null) {
349 mSurface = surface;