APIdia Launch Partner
Top Description Methods
sun.java2d.opengl

pack-priv Interface OGLGraphicsConfig

extends AccelGraphicsConfig, ProxiedGraphicsConfig, Factory
Known Direct Implementers
sun.java2d.opengl.GLXGraphicsConfig
Imports
sun.java2d.SurfaceData, sun.awt.image.SurfaceManager, sun.java2d.pipe.hw.AccelGraphicsConfig

This interface collects the methods that are provided by both GLXGraphicsConfig and WGLGraphicsConfig, making it easier to invoke these methods directly from OGLSurfaceData.

Method Summary

Modifier and TypeMethod and Description
public SurfaceData
createManagedSurface(int w, int h, int transparency)

public OGLContext
getContext()

Redeclares sun.java2d.pipe.hw.BufferedContextProvider.getContext.

Retrieves a context associated with object implementing this interface.

public long
public boolean
isCapPresent(int cap)

Inherited from sun.awt.image.SurfaceManager.Factory:
createVolatileManager
Inherited from sun.awt.image.SurfaceManager.ProxiedGraphicsConfig:
getSurfaceDataProxyCache
Inherited from sun.java2d.pipe.hw.AccelGraphicsConfig:
createCompatibleVolatileImagegetContextCapabilities

Method Detail

createManagedSurfaceback to summary
public SurfaceData createManagedSurface(int w, int h, int transparency)
getContextback to summary
public OGLContext getContext()

Redeclares sun.java2d.pipe.hw.BufferedContextProvider.getContext.

Doc from sun.java2d.pipe.hw.BufferedContextProvider.getContext.

Retrieves a context associated with object implementing this interface.

getNativeConfigInfoback to summary
public long getNativeConfigInfo()
isCapPresentback to summary
public boolean isCapPresent(int cap)