public abstract class EGLContext
extends java.lang.Object
EGL
and GL
interfaces.
An EGLContext
is obtained from EGL using the
eglCreateContext
function, and destroyed using the
eglDestroyContext
function. Its main role is as a
parameter to eglMakeCurrent
.
public static EGL getEGL()
EGL
object.EGL
instance.public abstract GL getGL()
GL
object associated with this EGL
context.
To call extension methods, cast the returned object to the interface type that contains the methods of the extension.
GL
instance that implements all
available extension interfaces.Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.