Top Constructors Methods
org.lwjgl.opengl

pack-priv final Class WindowsCanvasImplementation

extends Object
implements AWTCanvasImplementation
Class Inheritance
All Implemented Interfaces
org.lwjgl.opengl.AWTCanvasImplementation
Imports
java.awt.GraphicsConfiguration, .GraphicsDevice, .Toolkit, .Canvas, java.security.PrivilegedAction, .AccessController, org.lwjgl.LWJGLException, .LWJGLUtil

Author
elias_naur
Version
$Revision$ $Id$

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

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

Implements org.lwjgl.opengl.AWTCanvasImplementation.createPeerInfo.

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

Returns:

The GraphicsConfiguration corresponding to a visual that matches the pixel format.
findConfiguration
(GraphicsDevice device, PixelFormat pixel_format)

Implements org.lwjgl.opengl.AWTCanvasImplementation.findConfiguration.

Find a proper GraphicsConfiguration from the given GraphicsDevice and PixelFormat.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

WindowsCanvasImplementationback to summary
pack-priv WindowsCanvasImplementation()

Method Detail

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

Implements org.lwjgl.opengl.AWTCanvasImplementation.createPeerInfo.

Doc from org.lwjgl.opengl.AWTCanvasImplementation.createPeerInfo.

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

Implements org.lwjgl.opengl.AWTCanvasImplementation.findConfiguration.

Find a proper GraphicsConfiguration from the given GraphicsDevice and PixelFormat.

Returns:GraphicsConfiguration

The GraphicsConfiguration corresponding to a visual that matches the pixel format.

Exceptions
LWJGLException:

Doc from org.lwjgl.opengl.AWTCanvasImplementation.findConfiguration.

if no suitable configuration could be found.