|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.media.opengl.DefaultGLCapabilitiesChooser
gov.nasa.worldwind.util.BasicGLCapabilitiesChooser
public class BasicGLCapabilitiesChooser
BasicGLCapabilitiesChooser provides an implementation of GLCapabilitiesChooser for use
with WorldWindow implementations (for example, WorldWindowGLCanvas and WorldWindowGLJPanel).
| Constructor Summary | |
|---|---|
BasicGLCapabilitiesChooser()
Constructs a new BasicGLCapabilitiesChooser, but otherwise does nothing. |
|
| Method Summary | |
|---|---|
int |
chooseCapabilities(CapabilitiesImmutable desired,
List<? extends CapabilitiesImmutable> available,
int windowSystemRecommendedChoice)
Overridden to provide a fallback behavior when device supported stereo requested but is not supported by the hardware. |
protected int |
chooseStereoCapabilities(CapabilitiesImmutable desired,
List<? extends CapabilitiesImmutable> available,
int windowSystemRecommendedChoice)
Attempts to use the superclass functionality to find a match to the desired GL capabilities in the list of available capabilities. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicGLCapabilitiesChooser()
BasicGLCapabilitiesChooser, but otherwise does nothing.
| Method Detail |
|---|
public int chooseCapabilities(CapabilitiesImmutable desired,
List<? extends CapabilitiesImmutable> available,
int windowSystemRecommendedChoice)
desired GL capabilities does not specify device supported stereo, this calls
DefaultGLCapabilitiesChooser.chooseCapabilities.
chooseCapabilities in interface CapabilitiesChooserchooseCapabilities in class DefaultGLCapabilitiesChooserdesired - the desired GL capabilities.available - the list of available GL capabilities on the graphics device.windowSystemRecommendedChoice - an index into the list of available GL capabilities indicating the window
system's recommended capabilities, or -1 to indicate no recommendation.
protected int chooseStereoCapabilities(CapabilitiesImmutable desired,
List<? extends CapabilitiesImmutable> available,
int windowSystemRecommendedChoice)
desired - the desired GL capabilities.available - the list of available GL capabilities on the graphics device.windowSystemRecommendedChoice - an index into the list of available GL capabilities indicating the window
system's recommended capabilities, or -1 to indicate no recommendation.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||