diff options
author | David Thompson <dthompson2@worcester.edu> | 2018-12-13 17:18:16 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2018-12-13 17:25:31 -0500 |
commit | f6e11d5e73a0f61a59f50b49817779f9fb520e15 (patch) | |
tree | ce69a559df35f8ef924aed7013e84f4d260c815d /examples/images/dialog-box.png | |
parent | 61f4554f47e342bb9eb1f2754586e55fd458bec7 (diff) |
render: sprite: batch: Combine vertices and texcoords into one buffer.
Not sure how much of a gain this is, but it's one less buffer to map
each frame.
* chickadee/render/sprite.scm (init-sprite-batch): Create combined
vertex/texcoord buffer.
(double-sprite-batch-size!): Map and copy only a single buffer.
(sprite-batch-begin!): Map just one buffer.
(sprite-batch-add!): Use new packed buffer layout.
Diffstat (limited to 'examples/images/dialog-box.png')
0 files changed, 0 insertions, 0 deletions