Home | History | Annotate | Download | only in legacy

Lines Matching refs:surfaces

457     private void configureEGLOutputSurfaces(Collection<EGLSurfaceHolder> surfaces) {
458 if (surfaces == null || surfaces.size() == 0) {
459 throw new IllegalStateException("No Surfaces were provided to draw to");
464 for (EGLSurfaceHolder holder : surfaces) {
471 private void configureEGLPbufferSurfaces(Collection<EGLSurfaceHolder> surfaces) {
472 if (surfaces == null || surfaces.size() == 0) {
473 throw new IllegalStateException("No Surfaces were provided to draw to");
477 for (EGLSurfaceHolder holder : surfaces) {
650 * @param surfaces a {@link Collection} of surfaces.
652 public void configureSurfaces(Collection<Pair<Surface, Size>> surfaces) {
655 if (surfaces == null || surfaces.size() == 0) {
656 Log.w(TAG, "No output surfaces configured for GL drawing.");
660 for (Pair<Surface, Size> p : surfaces) {
671 // LegacyCameraDevice is the producer of surfaces if it's not handled by EGL,
672 // so LegacyCameraDevice needs to connect to the surfaces.
685 // Set up regular egl surfaces if needed
716 * @param targetCollector the surfaces to draw to.