ebiten/internal/graphicsdriver/metal
Hajime Hoshi c7ab66e0e1 graphicsdriver/metal: Move MTLDevice and CAMetalLayer to the other struct
On iOS, they are given or included in a MTKView and we don't have
to (or should not) make them. Let's move them to a different
struct.
2019-06-19 02:17:45 +09:00
..
ca graphicsdriver/metal: Make this compilable on iOS 2019-06-09 05:51:10 +09:00
mtl graphicsdriver/metal: Make this compilable on iOS 2019-06-09 05:51:10 +09:00
ns graphicsdriver/metal: Make this compilable on iOS 2019-06-09 05:51:10 +09:00
driver.go graphicsdriver/metal: Move MTLDevice and CAMetalLayer to the other struct 2019-06-19 02:17:45 +09:00
README.md Add Metal implementation 2018-12-20 02:37:10 +09:00
view_ios.go graphicsdriver/metal: Move MTLDevice and CAMetalLayer to the other struct 2019-06-19 02:17:45 +09:00
view_macos.go graphicsdriver/metal: Move MTLDevice and CAMetalLayer to the other struct 2019-06-19 02:17:45 +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)