Top Methods
org.lwjgl.opengl

pack-priv Interface AWTCanvasImplementation

Known Direct Implementers
org.lwjgl.opengl.LinuxCanvasImplementation, org.lwjgl.opengl.MacOSXCanvasImplementation, org.lwjgl.opengl.WindowsCanvasImplementation
Imports
java.awt.GraphicsConfiguration, .GraphicsDevice, .Canvas, org.lwjgl.LWJGLException

Author
elias_naur
Version
$Revision$ $Id$

Method Summary

Modifier and TypeMethod and Description
public PeerInfo
createPeerInfo(Canvas component, PixelFormat pixel_format, ContextAttribs attribs)

Return an opaque handle to the canvas peer information required to create a context from it.

public GraphicsConfiguration

Returns:

A GraphicsConfiguration matching the given GraphicsConfiguration and PixelFormat.
findConfiguration
(GraphicsDevice device, PixelFormat pixel_format)

Find a proper GraphicsConfiguration from the given GraphicsDevice and PixelFormat.

Method Detail

createPeerInfoback to summary
public PeerInfo createPeerInfo(Canvas component, PixelFormat pixel_format, ContextAttribs attribs) throws LWJGLException

Return an opaque handle to the canvas peer information required to create a context from it.

findConfigurationback to summary
public GraphicsConfiguration findConfiguration(GraphicsDevice device, PixelFormat pixel_format) throws LWJGLException

Find a proper GraphicsConfiguration from the given GraphicsDevice and PixelFormat.

Returns:GraphicsConfiguration

A GraphicsConfiguration matching the given GraphicsConfiguration and PixelFormat.

Exceptions
LWJGLException:
if no suitable configuration could be found.