Lines Matching refs:surface
55 /** The source for the surface used in this target (if any) */
115 return new RenderTarget(mDisplay, mContext, surface(), fbo, false, false);
156 public RenderTarget forSurface(Surface surface) {
160 eglSurf = mSurfaceSources.get(surface);
162 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surface, null);
163 mSurfaceSources.put(surface, eglSurf);
169 result.setSurfaceSource(surface);
196 throw new RuntimeException("This device supports only a single display surface!");
214 mEgl.eglMakeCurrent(mDisplay, surface(), surface(), mContext);
234 mEgl.eglSwapBuffers(mDisplay, surface());
348 private RenderTarget(EGLDisplay display, EGLContext context, EGLSurface surface, int fbo,
353 mSurface = surface;
359 private EGLSurface surface() {
416 private static void checkSurface(EGL10 egl, EGLSurface surface) {
417 if (surface == EGL10.EGL_NO_SURFACE) {
418 throw new RuntimeException("EGL Error: Bad surface: "