ebiten/internal/graphicsdriver/metal
Hajime Hoshi 20b5be0886 graphicsdriver: Bug fix: Tie-breaking when picking a texel
When a texel is picked on texel-borders of a texture, the behavior
(tie-breaking) depends on GPU and unexpected. This change fixes this
issue by shifting 1/512 [texel] when picking a texel up.

Updates #1212
2020-06-24 20:51:16 +09:00
..
ca graphicsdriver/metal: Bug fix: Failed to compile for iOS 2019-12-03 01:03:44 +09:00
mtl graphicsdriver/metal/mtl: Bug fix: need to link CoreGraphics as of Catalina 2019-11-17 22:59:21 +09:00
ns graphicsdriver/metal: Bug fix: Failed to compile for iOS 2019-12-03 01:03:44 +09:00
graphics.go graphicsdriver: Bug fix: Tie-breaking when picking a texel 2020-06-24 20:51:16 +09:00
README.md Add Metal implementation 2018-12-20 02:37:10 +09:00
view_ios.go glfw: Update to GLFW 3.3 2019-11-26 01:19:20 +09:00
view_macos.go graphicsdriver/metal: Reduce calls of SetLayer 2020-06-14 05:07:33 +09:00
view.go graphicsdriver/metal: Reduce calls of SetLayer 2020-06-14 05:07:33 +09:00

These packages are copied from Dmitri Shuralyov's mtl packages and edited with Dmitri's permission:

  • github.com/hajimehoshi/ebiten/internal/graphicsdriver/metal/ca (copied from dmitri.shuralyov.com/gpu/mtl/example/movingtriangle/internal/ca)
  • github.com/hajimehoshi/ebiten/internal/graphicsdriver/metal/mtl (copied from dmitri.shuralyov.com/gpu/mtl)
  • github.com/hajimehoshi/ebiten/internal/graphicsdriver/metal/ns (copied from dmitri.shuralyov.com/gpu/mtl/example/movingtriangle/internal/ns)