
This CL adds a way to extract the underlying android.opengl.EGLContext and javax.microedition.khronos.egl.EGLContext for EglBase14 and EglBase10 respectively. The reason is that clients can't be expected to use only WebRTC's OpenGL code and might need to integrate with their own GL code. Bug: None Change-Id: Ie00a564de45a090683542a52005da7e43c586ced Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/127888 Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27205}
21 lines
637 B
Java
21 lines
637 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 android.opengl.EGLContext;
|
|
|
|
/** EGL 1.4 implementation of EglBase. */
|
|
public interface EglBase14 extends EglBase {
|
|
interface Context extends EglBase.Context {
|
|
EGLContext getRawContext();
|
|
}
|
|
}
|