ebiten/internal/graphicsdriver/metal
Hajime Hoshi 6b7f21f0c8 driver: Add Graphics.MaxImageSize and use it
There are some devices that cannot accept 4096x4096 pixels
textures. Get the maximum size and use it.

Fixes #892
2019-07-04 01:10:11 +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 driver: Add Graphics.MaxImageSize and use it 2019-07-04 01:10:11 +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)