| Index: webrtc/sdk/android/src/java/org/webrtc/EglBase10.java
|
| diff --git a/webrtc/sdk/android/src/java/org/webrtc/EglBase10.java b/webrtc/sdk/android/src/java/org/webrtc/EglBase10.java
|
| index e42bfaa6fa89a7d3e26ca7e2e3efe6c18116df4d..70200fa6d1023bdc750e163b2291fb2a7a944ce3 100644
|
| --- a/webrtc/sdk/android/src/java/org/webrtc/EglBase10.java
|
| +++ b/webrtc/sdk/android/src/java/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.
|
| */
|
| -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;
|
|
|
| @@ -252,6 +252,12 @@ class EglBase10 extends EglBase {
|
| }
|
| }
|
|
|
| + @Override
|
| + public void swapBuffers(long timeStampNs) {
|
| + // Setting presentation time is not supported for EGL 1.0.
|
| + swapBuffers();
|
| + }
|
| +
|
| // Return an EGLDisplay, or die trying.
|
| private EGLDisplay getEglDisplay() {
|
| EGLDisplay eglDisplay = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
|
|
|