Commit Graph

6 Commits

Author SHA1 Message Date
Hajime Hoshi
9cb631e30f Reland: graphics: Reuse vertices backend and reduce allocating
This is a reland of 74f1e5519f.

The vertex slice is now copied before saving as the drawing
history items.
2019-09-29 01:36:00 +09:00
Hajime Hoshi
492149c463 Revert "graphics: Reuse vertices backend and reduce allocating"
This reverts commit 74f1e5519f.

Reason: The vertex slice is used at restorable package without
copying.
2019-09-29 01:20:55 +09:00
Hajime Hoshi
706628d0c4 graphics: Remove println 2019-09-29 01:17:00 +09:00
Hajime Hoshi
74f1e5519f graphics: Reuse vertices backend and reduce allocating 2019-09-28 22:53:13 +09:00
Hajime Hoshi
6095cd965b shareable: Remove (*Image).PutVertex 2019-09-21 04:01:44 +09:00
Hajime Hoshi
f3cdb0537b graphics: Move the vertices backend to ebiten package
Now restorable/sharable packages cannot use the same vertices
backend, but I think this won't affect the performance
significantly.
2019-06-22 00:02:22 +09:00