| Index: webrtc/sdk/android/api/org/webrtc/RendererCommon.java
|
| diff --git a/webrtc/sdk/android/api/org/webrtc/RendererCommon.java b/webrtc/sdk/android/api/org/webrtc/RendererCommon.java
|
| index 18d96c22e57fdc25ee9ae2f589b6500683a9d327..1491f92fa150bd64202e578ed25ae2ab8536009a 100644
|
| --- a/webrtc/sdk/android/api/org/webrtc/RendererCommon.java
|
| +++ b/webrtc/sdk/android/api/org/webrtc/RendererCommon.java
|
| @@ -83,7 +83,7 @@ public class RendererCommon {
|
| * Helper class for uploading YUV bytebuffer frames to textures that handles stride > width. This
|
| * class keeps an internal ByteBuffer to avoid unnecessary allocations for intermediate copies.
|
| */
|
| - public static class YuvUploader {
|
| + static class YuvUploader {
|
| // Intermediate copy buffer for uploading yuv frames that are not packed, i.e. stride > width.
|
| // TODO(magjed): Investigate when GL_UNPACK_ROW_LENGTH is available, or make a custom shader
|
| // that handles stride and compare performance with intermediate copy.
|
| @@ -143,6 +143,10 @@ public class RendererCommon {
|
| return uploadYuvData(buffer.getWidth(), buffer.getHeight(), strides, planes);
|
| }
|
|
|
| + public int[] getYuvTextures() {
|
| + return yuvTextures;
|
| + }
|
| +
|
| /**
|
| * Releases cached resources. Uploader can still be used and the resources will be reallocated
|
| * on first use.
|
|
|