From 0fc6118680a5ae1d7a424a9912b41993e684b0ae Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Tue, 25 Apr 2023 01:28:41 -0700 Subject: [PATCH] Internal change. PiperOrigin-RevId: 526892368 --- .../com/google/mediapipe/components/GlSurfaceViewRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediapipe/java/com/google/mediapipe/components/GlSurfaceViewRenderer.java b/mediapipe/java/com/google/mediapipe/components/GlSurfaceViewRenderer.java index 7732ed17d..9321e82b4 100644 --- a/mediapipe/java/com/google/mediapipe/components/GlSurfaceViewRenderer.java +++ b/mediapipe/java/com/google/mediapipe/components/GlSurfaceViewRenderer.java @@ -231,7 +231,7 @@ public class GlSurfaceViewRenderer implements GLSurfaceView.Renderer { } /** Returns the texture left, right, bottom, and top visible boundaries. */ - protected float[] calculateTextureBoundary() { + public float[] calculateTextureBoundary() { // TODO: compute scale from surfaceTexture size. float scaleWidth = frameWidth > 0 ? (float) surfaceWidth / (float) frameWidth : 1.0f; float scaleHeight = frameHeight > 0 ? (float) surfaceHeight / (float) frameHeight : 1.0f;