summaryrefslogtreecommitdiff
path: root/gfx/gl/instanceVertices.h
Commit message (Collapse)AuthorAge
* Maintain a reverse index in instance verticesDan Goodliffe2024-06-30
| | | | Removes need to search unused and/or index when moving/adding things
* Implement partition on InstanceVerticesDan Goodliffe2024-06-29
|
* Tidy InstanceProxyDan Goodliffe2024-06-29
|
* 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
* Assert the buffer is actually mappedDan Goodliffe2023-04-23
| | | | Will fail if the context is deleted. We shouldn't trigger that, but we do right now.
* Keep the instance unused vector sorted and binary search itDan Goodliffe2023-04-22
|
* 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
|
* Streamline the instancing maintenanceDan 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.
* Expose bufferName and count from InstanceVerticesDan Goodliffe2023-04-20
|
* 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