The default implementation of the GLCapabilitiesChooser interface, which provides consistent visual
selection behavior across platforms. The precise algorithm is
deliberately left loosely specified. Some properties are:
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final boolean | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | chooseCapabilities(final CapabilitiesImmutable desired, final List<? extends CapabilitiesImmutable> available, final int windowSystemRecommendedChoice)
Implements com. Capabilities most closely matching the desired one from the
list of all supported.
|
| private static int |
| ACCUM_MISMATCH_PENALTY_SCALE | back to summary |
|---|---|
| private static final int ACCUM_MISMATCH_PENALTY_SCALE | |
| COLOR_MISMATCH_PENALTY_SCALE | back to summary |
|---|---|
| private static final int COLOR_MISMATCH_PENALTY_SCALE | |
| DEBUG | back to summary |
|---|---|
| private static final boolean DEBUG | |
| DEPTH_MISMATCH_PENALTY_SCALE | back to summary |
|---|---|
| private static final int DEPTH_MISMATCH_PENALTY_SCALE | |
| DOUBLE_BUFFER_MISMATCH_PENALTY | back to summary |
|---|---|
| private static final int DOUBLE_BUFFER_MISMATCH_PENALTY | |
| MULTISAMPLE_EXTENSION_MISMATCH_PENALTY | back to summary |
|---|---|
| private static final int MULTISAMPLE_EXTENSION_MISMATCH_PENALTY | |
| MULTISAMPLE_MISMATCH_PENALTY | back to summary |
|---|---|
| private static final int MULTISAMPLE_MISMATCH_PENALTY | |
| MULTISAMPLE_MISMATCH_PENALTY_SCALE | back to summary |
|---|---|
| private static final int MULTISAMPLE_MISMATCH_PENALTY_SCALE | |
| NO_SCORE | back to summary |
|---|---|
| private static final int NO_SCORE | |
| OPAQUE_MISMATCH_PENALTY | back to summary |
|---|---|
| private static final int OPAQUE_MISMATCH_PENALTY | |
| STENCIL_MISMATCH_PENALTY | back to summary |
|---|---|
| private static final int STENCIL_MISMATCH_PENALTY | |
| STENCIL_MISMATCH_PENALTY_SCALE | back to summary |
|---|---|
| private static final int STENCIL_MISMATCH_PENALTY_SCALE | |
| DefaultGLCapabilitiesChooser | back to summary |
|---|---|
| public DefaultGLCapabilitiesChooser() | |
| chooseCapabilities | back to summary |
|---|---|
| public int chooseCapabilities(final CapabilitiesImmutable desired, final List<? extends CapabilitiesImmutable> available, final int windowSystemRecommendedChoice) Implements com. Doc from com. Chooses the index (0..available.length - 1) of the Note this method is called automatically by the
| |
| sign | back to summary |
|---|---|
| private static int sign(final int score) | |