Make EglBase an interface.
Bug: webrtc:8084 Change-Id: I50f57f81fe7148e2ed262e0672d5ab3a4f0f251e Reviewed-on: https://webrtc-review.googlesource.com/26960 Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21026}
This commit is contained in:
committed by
Commit Bot
parent
0af8370cb3
commit
b9f3f9bdd7
@ -25,7 +25,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.
|
||||
*/
|
||||
class EglBase10 extends EglBase {
|
||||
class EglBase10 implements EglBase {
|
||||
// This constant is taken from EGL14.EGL_CONTEXT_CLIENT_VERSION.
|
||||
private static final int EGL_CONTEXT_CLIENT_VERSION = 0x3098;
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ import android.view.Surface;
|
||||
*/
|
||||
@SuppressWarnings("ReferenceEquality") // We want to compare to EGL14 constants.
|
||||
@TargetApi(18)
|
||||
class EglBase14 extends EglBase {
|
||||
class EglBase14 implements EglBase {
|
||||
private static final String TAG = "EglBase14";
|
||||
private static final int EGLExt_SDK_VERSION = android.os.Build.VERSION_CODES.JELLY_BEAN_MR2;
|
||||
private static final int CURRENT_SDK_VERSION = android.os.Build.VERSION.SDK_INT;
|
||||
|
||||
Reference in New Issue
Block a user