ebiten/internal/graphicsdriver/metal
Hajime Hoshi b019a3723a internal/ui: optimize GPU usages when the screen doesn't have to be updated
This change skips rendering when 1) the screen is not cleared every frame
(`SetScreenClearedEveryFrame(false)`) and 2) Draw doesn't draw anything
onto the screen. The GPU usages decreased on some machines (e.g. GPU usage
was 10% with an empty Ebitengine project and became 2-3 % on a Windows
machine).

Updates #2341
2022-10-28 18:51:06 +09:00
..
ca internal/cocoa: remove IsIOS 2022-09-15 01:04:37 +09:00
mtl internal/graphicsdriver/metal/mtl: bug fix: wrong renaming 2022-10-17 01:11:54 +09:00
ns internal/graphicsdriver/metal: remove C for macOS (#2243) 2022-08-18 01:39:34 +09:00
graphics_darwin.go internal/ui: optimize GPU usages when the screen doesn't have to be updated 2022-10-28 18:51:06 +09:00
README.md Update import paths in the documents 2020-10-04 05:07:08 +09:00
shader_darwin.go ebiten: rename members of Blend 2022-10-17 00:51:55 +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 all: remove the build tag 2022-09-15 00:23:40 +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)