ebiten/internal/buffered
Hajime Hoshi 96fa0565e4 buffered: Remove mutex and use sync/atomic for performance
This change also enables to remove the optimization at
(*buffered.Image).ReplacePixels.

  // This commit w/ the optimization
  BenchmarkImageDrawOver-8           60225             19241 ns/op

  // This commit w/o the optimization
  BenchmarkImageDrawOver-8           66567             17700 ns/op

  // The previous w/ the optimization
  BenchmarkImageDrawOver-8           62355             19580 ns/op

  // The previous w/o the optimization
  BenchmarkImageDrawOver-8           54460             22768 ns/op

Updates #1137
2020-06-14 01:16:23 +09:00
..
command.go buffered: Remove mutex and use sync/atomic for performance 2020-06-14 01:16:23 +09:00
image_test.go buffered: Add Shader 2020-05-30 03:36:28 +09:00
image.go buffered: Remove mutex and use sync/atomic for performance 2020-06-14 01:16:23 +09:00