createBufferStrategy doesn't
throw AWTException when a v-synced BS could not be created when
requested.
java.awt.Canvas#createBufferStrategy(int, BufferCapabilities) , java.awt.Window#createBufferStrategy(int, BufferCapabilities)
| Modifier and Type | Class and Description |
|---|---|
| public static enum | ExtendedBufferCapabilities.
Type of synchronization on vertical retrace. |
| Modifier and Type | Field and Description |
|---|---|
| private ExtendedBufferCapabilities. |
| Access | Constructor and Description |
|---|---|
| public | ExtendedBufferCapabilities(BufferCapabilities caps)
Creates an ExtendedBufferCapabilities object with front/back/flip caps from the passed cap, and VSYNC_DEFAULT v-sync mode. |
| public | ExtendedBufferCapabilities(ImageCapabilities front, ImageCapabilities back, BufferCapabilities.
Creates an ExtendedBufferCapabilities instance with front/back/flip caps from the passed caps, and VSYNC_DEFAULT v-sync mode. |
| public | ExtendedBufferCapabilities(ImageCapabilities front, ImageCapabilities back, BufferCapabilities.
Creates an ExtendedBufferCapabilities instance with front/back/flip caps from the passed image/flip caps, and the v-sync type. |
| public | ExtendedBufferCapabilities(BufferCapabilities caps, ExtendedBufferCapabilities.
Creates an ExtendedBufferCapabilities instance with front/back/flip caps from the passed cap, and the passed v-sync mode. |
| Modifier and Type | Method and Description |
|---|---|
| public ExtendedBufferCapabilities | derive(ExtendedBufferCapabilities.
Creates an ExtendedBufferCapabilities instance with front/back/flip caps from the object, and passed v-sync mode. |
| public ExtendedBufferCapabilities. | |
| public final boolean | isPageFlipping()
Overrides java. Returns whether or not the buffer strategy uses page flipping. |
| vsync | back to summary |
|---|---|
| private ExtendedBufferCapabilities. | |
| ExtendedBufferCapabilities | back to summary |
|---|---|
| public ExtendedBufferCapabilities(BufferCapabilities caps) Creates an ExtendedBufferCapabilities object with front/back/flip caps from the passed cap, and VSYNC_DEFAULT v-sync mode. | |
| ExtendedBufferCapabilities | back to summary |
|---|---|
| public ExtendedBufferCapabilities(ImageCapabilities front, ImageCapabilities back, BufferCapabilities. Creates an ExtendedBufferCapabilities instance with front/back/flip caps from the passed caps, and VSYNC_DEFAULT v-sync mode. | |
| ExtendedBufferCapabilities | back to summary |
|---|---|
| public ExtendedBufferCapabilities(ImageCapabilities front, ImageCapabilities back, BufferCapabilities. Creates an ExtendedBufferCapabilities instance with front/back/flip caps from the passed image/flip caps, and the v-sync type. | |
| ExtendedBufferCapabilities | back to summary |
|---|---|
| public ExtendedBufferCapabilities(BufferCapabilities caps, ExtendedBufferCapabilities. Creates an ExtendedBufferCapabilities instance with front/back/flip caps from the passed cap, and the passed v-sync mode. | |
| derive | back to summary |
|---|---|
| public ExtendedBufferCapabilities derive(ExtendedBufferCapabilities. Creates an ExtendedBufferCapabilities instance with front/back/flip caps from the object, and passed v-sync mode. | |
| getVSync | back to summary |
|---|---|
| public ExtendedBufferCapabilities. Returns the type of v-sync requested by this capabilities instance. | |
| isPageFlipping | back to summary |
|---|---|
| public final boolean isPageFlipping() Overrides java. Doc from java. Returns whether or not the buffer strategy uses page flipping.
A set of buffers that uses page flipping
can swap the contents internally between the front buffer and one or
more back buffers by switching the video pointer (or by copying memory
internally). A non-flipping set of
buffers uses blitting to copy the contents from one buffer to
another; when this is the case,
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| public static final ExtendedBufferCapabilities. | VSYNC_DEFAULT
Use the default v-sync mode appropriate for given BufferStrategy and situation. |
| public static final ExtendedBufferCapabilities. | VSYNC_OFF
Do not synchronize flip on vertical retrace. |
| public static final ExtendedBufferCapabilities. | VSYNC_ON
Synchronize flip on vertical retrace. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static ExtendedBufferCapabilities. | |
| public static ExtendedBufferCapabilities. |
| id | back to summary |
|---|---|
| private int id | |
| VSYNC_DEFAULT | back to summary |
|---|---|
| public static final ExtendedBufferCapabilities. Use the default v-sync mode appropriate for given BufferStrategy and situation. | |
| VSYNC_OFF | back to summary |
|---|---|
| public static final ExtendedBufferCapabilities. Do not synchronize flip on vertical retrace. | |
| VSYNC_ON | back to summary |
|---|---|
| public static final ExtendedBufferCapabilities. Synchronize flip on vertical retrace. | |
| VSyncType | back to summary |
|---|---|
| private VSyncType(int id) | |
| id | back to summary |
|---|---|
| public int id() Used to identify the v-sync type (independent of the constants
order as opposed to | |
| valueOf | back to summary |
|---|---|
| public static ExtendedBufferCapabilities. | |
| values | back to summary |
|---|---|
| public static ExtendedBufferCapabilities. | |