Modifier and Type | Class and Description |
---|---|
private static class | |
private static class | GLXGraphicsConfig.
This is a small helper class that allows us to execute getGLXConfigInfo() on the queue flushing thread. |
private static class |
Modifier and Type | Field and Description |
---|---|
private BufferCapabilities | |
private final OGLContext | |
private static ImageCapabilities | |
private ContextCapabilities | |
private long |
Access | Constructor and Description |
---|---|
private | GLXGraphicsConfig(X11GraphicsDevice device, int visualnum, long configInfo, ContextCapabilities oglCaps)
|
Modifier and Type | Method and Description |
---|---|
public Image | createAcceleratedImage(Component target, int width, int height)
Creates a new hidden-acceleration image of the given width and height
that is associated with the target Component.
|
public long | createBackBuffer(X11ComponentPeer peer, int numBuffers, BufferCapabilities caps)
Overrides sun. |
public VolatileImage | createBackBufferImage(Component target, long backBuffer)
Creates a VolatileImage that essentially wraps the target Component's
backbuffer (the provided backbuffer handle is essentially ignored).
|
public BufferedImage | createCompatibleImage(int
the width of the returned width, int BufferedImage the height of the returned height)BufferedImage Overrides java. BufferedImage with a data layout and color model
compatible with this GraphicsConfiguration .
|
public VolatileImage | createCompatibleVolatileImage(int
the width of the returned width, int VolatileImage the height of the returned height, int VolatileImage the specified transparency mode transparency, int requested accelerated surface type as specified by constants
in AccelSurface interface type)Implements sun. |
public SurfaceData | createManagedSurface(int w, int h, int transparency)
Implements sun. |
public SurfaceData | createSurfaceData(X11ComponentPeer peer)
Overrides sun. |
public void | destroyBackBuffer(long backBuffer)
Overrides sun. |
public void | flip(X11ComponentPeer peer, Component target, VolatileImage xBackBuffer, int x1, int y1, int x2, int y2, BufferCapabilities.
Overrides sun. |
public BufferCapabilities | getBufferCapabilities()
Overrides sun. GraphicsConfiguration .
|
public ColorModel | getColorModel(int
the specified transparency mode transparency)Overrides sun. |
public static GLXGraphicsConfig | |
public final OGLContext | getContext()
Implements sun. |
public ContextCapabilities | getContextCapabilities()
Implements sun. AccelGraphicsConfig .
|
private static native long | |
public ImageCapabilities | getImageCapabilities()
Overrides sun. GraphicsConfiguration .
|
public final long | |
private static native int | |
public Object | getProxyKey()
Overrides sun. Implements sun. |
private native void | |
public final boolean | isCapPresent(int cap)
Implements sun. |
public String | toString()
Overrides sun. |
bufferCaps | back to summary |
---|---|
private BufferCapabilities bufferCaps |
context | back to summary |
---|---|
private final OGLContext context |
imageCaps | back to summary |
---|---|
private static ImageCapabilities imageCaps |
oglCaps | back to summary |
---|---|
private ContextCapabilities oglCaps |
pConfigInfo | back to summary |
---|---|
private long pConfigInfo |
GLXGraphicsConfig | back to summary |
---|---|
private GLXGraphicsConfig(X11GraphicsDevice device, int visualnum, long configInfo, ContextCapabilities oglCaps) |
createAcceleratedImage | back to summary |
---|---|
public Image createAcceleratedImage(Component target, int width, int height) Overrides sun. Creates a new hidden-acceleration image of the given width and height that is associated with the target Component.
|
createBackBuffer | back to summary |
---|---|
public long createBackBuffer(X11ComponentPeer peer, int numBuffers, BufferCapabilities caps) throws AWTException Overrides sun. Attempts to create a GLX-based backbuffer for the given peer. If the requested configuration is not natively supported, an AWTException is thrown. Otherwise, if the backbuffer creation is successful, a value of 1 is returned.
|
createBackBufferImage | back to summary |
---|---|
public VolatileImage createBackBufferImage(Component target, long backBuffer) Overrides sun. Creates a VolatileImage that essentially wraps the target Component's backbuffer (the provided backbuffer handle is essentially ignored).
|
createCompatibleImage | back to summary |
---|---|
public BufferedImage createCompatibleImage(int width, int height) Overrides java. Doc from java. Returns a
|
createCompatibleVolatileImage | back to summary |
---|---|
public VolatileImage createCompatibleVolatileImage(int width, int height, int transparency, int type) Implements sun. Doc from sun. Returns a VolatileImage with specified width, height, transparency and guaranteed accelerated surface type. If such image can not be created (out of vram error, specific surface type is not supported) null is returned. Note if
|
createManagedSurface | back to summary |
---|---|
public SurfaceData createManagedSurface(int w, int h, int transparency) Implements sun.
|
createSurfaceData | back to summary |
---|---|
public SurfaceData createSurfaceData(X11ComponentPeer peer) Overrides sun. Creates a new SurfaceData that will be associated with the given X11ComponentPeer.
|
destroyBackBuffer | back to summary |
---|---|
public void destroyBackBuffer(long backBuffer) Overrides sun. Destroys the backbuffer object represented by the given handle value.
|
flip | back to summary |
---|---|
public void flip(X11ComponentPeer peer, Component target, VolatileImage xBackBuffer, int x1, int y1, int x2, int y2, BufferCapabilities. Overrides sun. Performs the native GLX flip operation for the given target Component.
|
getBufferCapabilities | back to summary |
---|---|
public BufferCapabilities getBufferCapabilities() Overrides sun. Doc from java. Returns the buffering capabilities of this
|
getColorModel | back to summary |
---|---|
public ColorModel getColorModel(int transparency) Overrides sun. Doc from sun. Returns the color model associated with this configuration that supports the specified transparency.
|
getConfig | back to summary |
---|---|
public static GLXGraphicsConfig getConfig(X11GraphicsDevice device, int visualnum) |
getContext | back to summary |
---|---|
public final OGLContext getContext() Implements sun. Doc from sun. Retrieves a context associated with object implementing this interface.
|
getContextCapabilities | back to summary |
---|---|
public ContextCapabilities getContextCapabilities() Implements sun. Doc from sun. Returns object representing capabilities of the context associated
with this
|
getGLXConfigInfo | back to summary |
---|---|
private static native long getGLXConfigInfo(int screennum, int visualnum) |
getImageCapabilities | back to summary |
---|---|
public ImageCapabilities getImageCapabilities() Overrides sun. Doc from java. Returns the image capabilities of this
|
getNativeConfigInfo | back to summary |
---|---|
public final long getNativeConfigInfo() Implements sun.
|
getOGLCapabilities | back to summary |
---|---|
private static native int getOGLCapabilities(long configInfo) |
getProxyKey | back to summary |
---|---|
public Object getProxyKey() Overrides sun. Implements sun. Doc from sun. Return the key that destination surfaces created on the given GraphicsConfiguration use to store SurfaceDataProxy objects for their cached copies.
|
initConfig | back to summary |
---|---|
private native void initConfig(long aData, long ctxinfo) |
isCapPresent | back to summary |
---|---|
public final boolean isCapPresent(int cap) Implements sun. Returns true if the provided capability bit is present for this config. See OGLContext.java for a list of supported capabilities.
|
toString | back to summary |
---|---|
public String toString() Overrides sun. Doc from java. Returns a string representation of the object.
|
Access | Constructor and Description |
---|---|
public |
GLXBufferCaps | back to summary |
---|---|
public GLXBufferCaps(boolean dblBuf) |
Modifier and Type | Field and Description |
---|---|
private long | |
private int | |
private int |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public long | |
public void |
cfginfo | back to summary |
---|---|
private long cfginfo |
screen | back to summary |
---|---|
private int screen |
visual | back to summary |
---|---|
private int visual |
GLXGetConfigInfo | back to summary |
---|---|
private GLXGetConfigInfo(int screen, int visual) |
getConfigInfo | back to summary |
---|---|
public long getConfigInfo() |
run | back to summary |
---|---|
public void run() Implements java. Doc from java. Runs this operation. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public boolean | isTrueVolatile()
Overrides java. true if the VolatileImage
described by this ImageCapabilities can lose
its surfaces.
|
GLXImageCaps | back to summary |
---|---|
private GLXImageCaps() |
isTrueVolatile | back to summary |
---|---|
public boolean isTrueVolatile() Overrides java. Doc from java. Returns
|