com.jogamp.opengl.impl.egl
Class EGLPbufferDrawable

java.lang.Object
  extended by com.jogamp.opengl.impl.GLDrawableImpl
      extended by com.jogamp.opengl.impl.egl.EGLDrawable
          extended by com.jogamp.opengl.impl.egl.EGLPbufferDrawable
All Implemented Interfaces:
GLDrawable

public class EGLPbufferDrawable
extends EGLDrawable


Field Summary
protected static boolean useTexture
           
 
Fields inherited from class com.jogamp.opengl.impl.egl.EGLDrawable
eglDisplay, eglSurface, ownEGLDisplay, ownEGLSurface
 
Fields inherited from class com.jogamp.opengl.impl.GLDrawableImpl
DEBUG, factory, realized, requestedCapabilities, surface
 
Constructor Summary
protected EGLPbufferDrawable(EGLDrawableFactory factory, NativeSurface target)
           
 
Method Summary
 GLContext createContext(GLContext shareWith)
          Creates a new context for drawing to this drawable that will optionally share display lists and other server-side OpenGL objects with the specified GLContext.
protected  long createSurface(long eglDpy, long eglNativeCfg, long surfaceHandle)
           
protected  void swapBuffersImpl()
           
 
Methods inherited from class com.jogamp.opengl.impl.egl.EGLDrawable
getChosenGLCapabilities, getDisplay, getGLDynamicLookupHelper, getGraphicsConfiguration, getHandle, getHeight, getWidth, setRealizedImpl, toString
 
Methods inherited from class com.jogamp.opengl.impl.GLDrawableImpl
destroy, destroyHandle, destroyImpl, getFactory, getFactoryImpl, getGLProfile, getNativeSurface, getRequestedGLCapabilities, isRealized, isSurfaceLocked, lockSurface, setRealized, swapBuffers, toHexString, unlockSurface, updateHandle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

useTexture

protected static final boolean useTexture
See Also:
Constant Field Values
Constructor Detail

EGLPbufferDrawable

protected EGLPbufferDrawable(EGLDrawableFactory factory,
                             NativeSurface target)
Method Detail

createSurface

protected long createSurface(long eglDpy,
                             long eglNativeCfg,
                             long surfaceHandle)
Specified by:
createSurface in class EGLDrawable

createContext

public GLContext createContext(GLContext shareWith)
Description copied from interface: GLDrawable
Creates a new context for drawing to this drawable that will optionally share display lists and other server-side OpenGL objects with the specified GLContext.

The GLContext share need not be associated with this GLDrawable and may be null if sharing of display lists and other objects is not desired. See the note in the overview documentation on context sharing.

Specified by:
createContext in interface GLDrawable
Specified by:
createContext in class EGLDrawable

swapBuffersImpl

protected void swapBuffersImpl()
Specified by:
swapBuffersImpl in class GLDrawableImpl


Copyright 2010 JogAmp Community.