ebiten/internal/restorable
Hajime Hoshi 26b9fa20c1 internal/graphics: Bug fix: Race condition at QuadVertices
QuadVertices or verticesBackend.slice reused its backend slice.
This caused a race condition. QuadVertices can be accessed from
multiple goroutines, and resetting the head and copying the data
at internal/graphicscommand might not be synced.

This change fixes this issue by basically reverting
9cb631e30f.

Closes #1546
2021-03-20 16:32:13 +09:00
..
const_android.go cmd/ebitenmobile: Use an explict way to detect context lost on Android 2020-08-15 01:39:08 +09:00
const_js.go Clean up the 'js' build tags 2020-10-07 01:33:10 +09:00
const_others.go cmd/ebitenmobile: Use an explict way to detect context lost on Android 2020-08-15 01:39:08 +09:00
doc.go restorable: Add comments 2017-09-15 00:24:18 +09:00
image.go internal/graphics: Bug fix: Race condition at QuadVertices 2021-03-20 16:32:13 +09:00
images_test.go internal/graphics: Bug fix: Race condition at QuadVertices 2021-03-20 16:32:13 +09:00
images.go internal/shareable: Call DrawTriangles instead of ReplacePixels at makeShared (#1513) 2021-02-26 12:56:22 +09:00
rect.go restorable: Replace a potentially dangerous pointer usage 2020-12-20 13:28:17 +09:00
shader_test.go restorable: Remove Fill and make (*ebiten.Image).Fill available for sub-images 2020-11-08 02:50:06 +09:00
shader.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00