This extension adds to GL a mechanism to decouple the virtual and physical storage requirements of textures and allows an application to create partially populated textures that would over-subscribe available graphics memory if made fully resident. This extension provides like functionality for buffer objects, allowing applications to manage buffer object storage in a similar manner.
Requires OpenGL 1. or ARB_vertex_buffer_object.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_SPARSE_BUFFER_PAGE_SIZE_ARB
Accepted by the |
| public static final int | GL_SPARSE_STORAGE_BIT_ARB
Accepted as part of the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static native void | glBufferPageCommitmentARB(int target, long
the region offset. Must be an integer multiple of the implementation dependent constant offset, long SPARSE_BUFFER_PAGE_SIZE_ARB.the data size. must either be a multiple of size, boolean SPARSE_BUFFER_PAGE_SIZE_ARB, or extend to the end of the buffer's data store.If true, then pages contained in the specified range become committed and become physically backed. If false, then physical storage associated with
the data store in the specified region may be freed and those pages become uncommitted. Newly committed pages have undefined content. However,
redundantly committing pages does not alter their content. commit)Commit and de-commits regions of sparse buffer storage. |
| public static native void | glNamedBufferPageCommitmentARB(int
the buffer object buffer, long the region offset. Must be an integer multiple of the implementation dependent constant offset, long SPARSE_BUFFER_PAGE_SIZE_ARB.the data size. must either be a multiple of size, boolean SPARSE_BUFFER_PAGE_SIZE_ARB, or extend to the end of the buffer's data store.the commit state commit)Direct-state-access version of |
| public static native void | glNamedBufferPageCommitmentEXT(int
the buffer object buffer, long the region offset. Must be an integer multiple of the implementation dependent constant offset, long SPARSE_BUFFER_PAGE_SIZE_ARB.the data size. must either be a multiple of size, boolean SPARSE_BUFFER_PAGE_SIZE_ARB, or extend to the end of the buffer's data store.the commit state commit)Direct-state-access version of |
| GL_SPARSE_BUFFER_PAGE_SIZE_ARB | back to summary |
|---|---|
| public static final int GL_SPARSE_BUFFER_PAGE_SIZE_ARB Accepted by the | |
| GL_SPARSE_STORAGE_BIT_ARB | back to summary |
|---|---|
| public static final int GL_SPARSE_STORAGE_BIT_ARB Accepted as part of the | |
| ARBSparseBuffer | back to summary |
|---|---|
| protected ARBSparseBuffer() | |
| glBufferPageCommitmentARB | back to summary |
|---|---|
| public static native void glBufferPageCommitmentARB(int target, long offset, long size, boolean commit) Commit and de-commits regions of sparse buffer storage.
| |
| glNamedBufferPageCommitmentARB | back to summary |
|---|---|
| public static native void glNamedBufferPageCommitmentARB(int buffer, long offset, long size, boolean commit) Direct-state-access version of
| |
| glNamedBufferPageCommitmentEXT | back to summary |
|---|---|
| public static native void glNamedBufferPageCommitmentEXT(int buffer, long offset, long size, boolean commit) Direct-state-access version of
| |