mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00

This enables clients of EglBase to keep using it but share underlying EGLContext with other clients. go/meet-android-eglcontext-reduction Bug: b/225229697 Change-Id: I42719f25be7db169c39878b57a5f1487e3c1894e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/301941 Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Linus Nilsson <lnilsson@webrtc.org> Reviewed-by: Xavier Lepaul <xalep@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39961}
33 lines
968 B
Java
33 lines
968 B
Java
/*
|
|
* Copyright 2019 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
package org.webrtc;
|
|
|
|
import javax.microedition.khronos.egl.EGL10;
|
|
import javax.microedition.khronos.egl.EGLConfig;
|
|
import javax.microedition.khronos.egl.EGLContext;
|
|
import javax.microedition.khronos.egl.EGLDisplay;
|
|
|
|
/** EGL 1.0 implementation of EglBase. */
|
|
public interface EglBase10 extends EglBase {
|
|
interface Context extends EglBase.Context {
|
|
EGLContext getRawContext();
|
|
}
|
|
|
|
interface EglConnection extends EglBase.EglConnection {
|
|
EGL10 getEgl();
|
|
|
|
EGLContext getContext();
|
|
|
|
EGLDisplay getDisplay();
|
|
|
|
EGLConfig getConfig();
|
|
}
|
|
}
|