Top Constructors Methods
org.lwjgl.opengl

pack-priv final Class MacOSXCanvasImplementation

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

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

MacOSXCanvasImplementationback to summary
pack-priv MacOSXCanvasImplementation()

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.