summaryrefslogtreecommitdiff
path: root/lib/glContainer.h
Commit message (Collapse)AuthorAge
* Allow specifying a target other than array bufferDan Goodliffe2024-02-02
| | | | GL_ARRAY_BUFFER is the default. Also removes accidental use for OpenGL 4.x functions.
* Map buffers RO if const operations, upgrade to RW as requiredDan Goodliffe2024-02-02
|
* Don't keep a span, create as neededDan Goodliffe2024-02-02
| | | | | Removes the error prone issue where data/size get out of sync. Fixes overflow issues leading to memory corruption of GPU data.
* Fix warnings in test-glContainerDan Goodliffe2024-02-02
| | | | Also updates static asserts to requirements
* Support constructing a glContainer from a collection of the same typeDan Goodliffe2024-01-27
|
* Add glContainer::at override to update a single itemDan Goodliffe2024-01-13
|
* Use std::span for iterator/data pointer in glContainerDan Goodliffe2024-01-13
|
* Default destructor for trivial types of glContainerDan Goodliffe2024-01-13
|
* Adding missing copy/move operations to glContainerDan Goodliffe2024-01-13
|
* Reformat with new clang-formatDan Goodliffe2023-11-07
|
* Refactor InstanceVertices in terms of glContainerDan Goodliffe2023-05-01
|
* Add method to get GL buffer name of glContainerDan Goodliffe2023-05-01
|
* glContainer should at least double in capacity as requiredDan Goodliffe2023-05-01
|
* Extend glContainer with most of the interface expected of an STL containerDan Goodliffe2023-05-01
|
* Initial commit of glContainerDan Goodliffe2023-04-30
A std::vector like container backed by an OpenGL buffer.