summaryrefslogtreecommitdiff
path: root/test/test-instancing.cpp
Commit message (Collapse)AuthorAge
* First cut reshuffling app/window/gl/render bitsDan Goodliffe2024-06-15
|
* 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.
* Use std::span for iterator/data pointer in glContainerDan Goodliffe2024-01-13
|
* Reformat with new clang-formatDan Goodliffe2023-11-07
|
* Refactor InstanceVertices in terms of glContainerDan Goodliffe2023-05-01
|
* Drop .hpp for header only thingsDan Goodliffe2023-04-29
| | | | Half of them acquired a .cpp part anyway
* Don't fill the instances unused vector unnecessarilyDan Goodliffe2023-04-22
|
* Test instancing automatic unmap when count is called, add some nodiscardDan Goodliffe2023-04-22
|
* Fix the instancing maintenanceDan Goodliffe2023-04-22
|
* Instances buffer data needs to be unmapped before useDan Goodliffe2023-04-21
| | | | | Here we change quite a bit to support mapping and unmapping the buffer as required. The instance/free referencing is still broken though. We add several instances of tree in the render.
* First cut of instance vertices and proxyDan Goodliffe2023-04-17
Untested outside unit test, allows the use of a glBuffer as a storage container. To be combined with a vertex array and/or mesh etc for massing drawing with glDrawElementsInstanced