| Modifier and Type | Class and Description |
|---|---|
| private static class | VSyncedBSManager.
An instance of the manager which allows any buffer strategy to be v-synced. |
| private static class | VSyncedBSManager.
An instance of the manager which allows only one buffer strategy to be v-synced at any give moment in the vm. |
| Modifier and Type | Field and Description |
|---|---|
| private static VSyncedBSManager | |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract boolean | |
| private static VSyncedBSManager | |
| public static synchronized void | releaseVsync(BufferStrategy bs)
Lets the manager know that this buffer strategy is no longer interested in being v-synced. |
| pack-priv abstract void | |
| public static boolean | Returns: true if the bs is allowed to be v-synced, false otherwiseReturns true if the buffer strategy is allowed to be created v-synced. |
| theInstance | back to summary |
|---|---|
| private static VSyncedBSManager theInstance | |
| vSyncLimit | back to summary |
|---|---|
| private static final boolean vSyncLimit | |
| VSyncedBSManager | back to summary |
|---|---|
| public VSyncedBSManager() | |
| checkAllowed | back to summary |
|---|---|
| pack-priv abstract boolean checkAllowed(BufferStrategy bs) | |
| getInstance | back to summary |
|---|---|
| private static VSyncedBSManager getInstance(boolean create) | |
| releaseVsync | back to summary |
|---|---|
| public static synchronized void releaseVsync(BufferStrategy bs) Lets the manager know that this buffer strategy is no longer interested in being v-synced. | |
| relinquishVsync | back to summary |
|---|---|
| pack-priv abstract void relinquishVsync(BufferStrategy bs) | |
| vsyncAllowed | back to summary |
|---|---|
| public static boolean vsyncAllowed(BufferStrategy bs) Returns true if the buffer strategy is allowed to be created v-synced.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| pack-priv void | relinquishVsync(BufferStrategy bs)
Implements abstract sun.
|
| NoLimitVSyncBSMgr | back to summary |
|---|---|
| private NoLimitVSyncBSMgr() | |
| checkAllowed | back to summary |
|---|---|
| pack-priv boolean checkAllowed(BufferStrategy bs) Implements abstract sun.
| |
| relinquishVsync | back to summary |
|---|---|
| pack-priv void relinquishVsync(BufferStrategy bs) Implements abstract sun.
| |
| Modifier and Type | Field and Description |
|---|---|
| private WeakReference |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized boolean | |
| public synchronized void | relinquishVsync(BufferStrategy bs)
Implements abstract sun.
|
| strategy | back to summary |
|---|---|
| private WeakReference<BufferStrategy> strategy | |
| SingleVSyncedBSMgr | back to summary |
|---|---|
| private SingleVSyncedBSMgr() | |
| checkAllowed | back to summary |
|---|---|
| public synchronized boolean checkAllowed(BufferStrategy bs) Implements abstract sun.
| |
| relinquishVsync | back to summary |
|---|---|
| public synchronized void relinquishVsync(BufferStrategy bs) Implements abstract sun.
| |