Top Description Fields Constructors Methods
com.sun.glass.ui.monocle

pack-priv Class X11AcceleratedScreen

extends AcceleratedScreen
Class Inheritance

Provide X11 implementation of AcceleratedScreen

Field Summary

Modifier and TypeField and Description
private X.XDisplay
private static X
Inherited from com.sun.glass.ui.monocle.AcceleratedScreen:
eglConfigseglContexteglDisplayeglSurfacelsnativeWindow

Constructor Summary

AccessConstructor and Description
pack-priv
X11AcceleratedScreen(int[] attributes)

Method Summary

Modifier and TypeMethod and Description
protected long
platformGetNativeDisplay()

Overrides com.sun.glass.ui.monocle.AcceleratedScreen.platformGetNativeDisplay.

Returns a platform-specific native display handle suitable for use with eglGetDisplay.

protected long
platformGetNativeWindow()

Overrides com.sun.glass.ui.monocle.AcceleratedScreen.platformGetNativeWindow.

Returns a platform-specific native window handle suitable for use with eglCreateWindowSurface.

public boolean
swapBuffers()

Overrides com.sun.glass.ui.monocle.AcceleratedScreen.swapBuffers.

Copy the contents of the GL backbuffer to the screen

Inherited from com.sun.glass.ui.monocle.AcceleratedScreen:
enableRenderinggetEGLHandlegetGLHandleinitPlatformLibraries

Field Detail

nativeDisplayback to summary
private X.XDisplay nativeDisplay
xLibback to summary
private static X xLib

Constructor Detail

X11AcceleratedScreenback to summary
pack-priv X11AcceleratedScreen(int[] attributes) throws GLException

Method Detail

platformGetNativeDisplayback to summary
protected long platformGetNativeDisplay()

Overrides com.sun.glass.ui.monocle.AcceleratedScreen.platformGetNativeDisplay.

Doc from com.sun.glass.ui.monocle.AcceleratedScreen.platformGetNativeDisplay.

Returns a platform-specific native display handle suitable for use with eglGetDisplay.

Annotations
@Override
platformGetNativeWindowback to summary
protected long platformGetNativeWindow()

Overrides com.sun.glass.ui.monocle.AcceleratedScreen.platformGetNativeWindow.

Doc from com.sun.glass.ui.monocle.AcceleratedScreen.platformGetNativeWindow.

Returns a platform-specific native window handle suitable for use with eglCreateWindowSurface.

Annotations
@Override
swapBuffersback to summary
public boolean swapBuffers()

Overrides com.sun.glass.ui.monocle.AcceleratedScreen.swapBuffers.

Doc from com.sun.glass.ui.monocle.AcceleratedScreen.swapBuffers.

Copy the contents of the GL backbuffer to the screen

Returns:boolean

success or failure

Annotations
@Override