ebiten/internal/graphicsdriver/metal
Hajime Hoshi 566957dc1c internal/graphicsdriver/metal: invert Y at the vertex shader
Instead of using a negative height in the viewport, invert the Y direction
at the vertex shader. This is a little more readable as a negative height
is hacky.

This is a preparation for DirectX 12. DirectX 12's coodination system
is very similar to Metal, but doesn't treat a negative height in its
viewport unfortunately.

Updates #1007
2022-02-27 01:53:03 +09:00
..
ca internal/graphicsdriver/metal: Rename files to remove +build comments 2021-08-23 02:06:09 +09:00
mtl internal/graphicsdriver/metal/mtl: bug fix: test compile error 2022-02-11 23:23:22 +09:00
ns internal/graphicsdriver/metal: Rename files to remove +build comments 2021-08-23 02:06:09 +09:00
graphics_darwin.go internal/graphicsdriver/metal: invert Y at the vertex shader 2022-02-27 01:53:03 +09:00
README.md Update import paths in the documents 2020-10-04 05:07:08 +09:00
shader_darwin.go internal/graphicsdriver/metal: rename files 2022-02-11 21:49:05 +09:00
view_darwin.go internal/ui: refactoring: remove dependency on the package mtl 2022-02-11 23:11:49 +09:00
view_ios.go internal/graphicsdriver/metal: rename files 2022-02-11 21:49:05 +09:00
view_macos_darwin.go internal/graphicsdriver/metal: rename files 2022-02-11 21:49:05 +09:00

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

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