Android: Add constant for native EGL NO_CONTEXT
TBR=sakal Bug: None Change-Id: I3123648c8745954f5a90a0e18422379daffe6195 Reviewed-on: https://webrtc-review.googlesource.com/c/112591 Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25863}
This commit is contained in:
parent
92c4289ada
commit
7c6fbf2c9a
@ -22,8 +22,10 @@ import javax.microedition.khronos.egl.EGL10;
|
||||
public interface EglBase {
|
||||
// EGL wrapper for an actual EGLContext.
|
||||
public interface Context {
|
||||
public final static long NO_CONTEXT = 0;
|
||||
|
||||
/**
|
||||
* Returns an EGL context that can be used by native code. Returns 0 if the method is
|
||||
* Returns an EGL context that can be used by native code. Returns NO_CONTEXT if the method is
|
||||
* unsupported.
|
||||
*
|
||||
* @note This is currently only supported for EGL 1.4 and not for EGL 1.0.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user