ebiten/internal/graphicscommand
Gabriel Ochsenhofer 2ad0e9a9db
internal/graphicscommand: add a debug.IsDebug check before splitting strings (#3134)
Since `debug.IsDebug` is a constant, by putting the `strings.Cut` calls inside the check this makes the
`(*commandqueue).flush` method faster when Ebitengine is compiled without the debug build tag.

Without the if `debug.IsDebug` check, unnecessary allocations occur (since the logger is a noop logger when debug is
disabled).
2024-10-18 22:46:28 +09:00
..
command.go internal/graphicscommand: better debug info for blending 2024-10-15 18:26:27 +09:00
commandqueue.go internal/graphicscommand: add a debug.IsDebug check before splitting strings (#3134) 2024-10-18 22:46:28 +09:00
doc.go Rename graphics -> graphicscommand 2018-10-28 20:10:05 +09:00
export_test.go internal/graphicscommand: bug fix: missing file 2024-07-12 11:30:36 +09:00
image_js.go all: replace interface{} with any (#2430) 2022-11-03 15:33:09 +09:00
image_notjs.go internal/graphicscommand: use bufio to make dumping images faster 2023-08-26 00:50:45 +09:00
image_test.go all: specify src-regions correctly 2024-09-08 22:24:15 +09:00
image.go internal/graphicscommand: add attributes to images 2024-09-07 23:38:16 +09:00
shader.go internal: add comments 2024-09-07 23:24:55 +09:00
thread.go internal/ui: remove renderThread 2024-01-02 17:14:38 +09:00