From 7fbe2ee224f490f2549036fc0862f23cec720769 Mon Sep 17 00:00:00 2001 From: Alex Glaznev Date: Mon, 1 Aug 2016 13:31:32 -0700 Subject: [PATCH] Make EGL10 class public. To allow accessing its function for 3rd party apps. BUG=b/30502777 R=jiayl@chromium.org Review URL: https://codereview.webrtc.org/2203483002 . Cr-Commit-Position: refs/heads/master@{#13595} --- webrtc/api/android/java/src/org/webrtc/EglBase10.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webrtc/api/android/java/src/org/webrtc/EglBase10.java b/webrtc/api/android/java/src/org/webrtc/EglBase10.java index 8a95b03eaf..0d7b61d587 100644 --- a/webrtc/api/android/java/src/org/webrtc/EglBase10.java +++ b/webrtc/api/android/java/src/org/webrtc/EglBase10.java @@ -26,7 +26,7 @@ import javax.microedition.khronos.egl.EGLSurface; * Holds EGL state and utility methods for handling an egl 1.0 EGLContext, an EGLDisplay, * and an EGLSurface. */ -final class EglBase10 extends EglBase { +public final class EglBase10 extends EglBase { // This constant is taken from EGL14.EGL_CONTEXT_CLIENT_VERSION. private static final int EGL_CONTEXT_CLIENT_VERSION = 0x3098; @@ -46,7 +46,7 @@ final class EglBase10 extends EglBase { } // Create a new context with the specified config type, sharing data with sharedContext. - EglBase10(Context sharedContext, int[] configAttributes) { + public EglBase10(Context sharedContext, int[] configAttributes) { this.egl = (EGL10) EGLContext.getEGL(); eglDisplay = getEglDisplay(); eglConfig = getEglConfig(eglDisplay, configAttributes);