ebiten/internal
Hajime Hoshi 49582519c1 all: add a compiler directive kage:unit
This change adds a new compiler directive 'kage:unit' to Kage. This
takes one of these two values: 'pixel' and 'texel'. The default value
is 'texel'.

With the pixel-unit mode, all the built-in functions treats pixels
instead of texels, and the texCoord argument of Fragment is in pixels.
This simplifies shader programs as programs no longer have the notion
of texels.

With the texel-unit mode, the behavior is the same as the current
behavior.

Closes #1431
2023-04-23 22:11:57 +09:00
..
affine internal/affine: refactoring: use slices instead of array pointers 2022-09-30 22:20:32 +09:00
atlas all: add a compiler directive kage:unit 2023-04-23 22:11:57 +09:00
buffered internal/buffer: refactoring 2023-02-26 02:20:07 +09:00
builtinshader all: add a compiler directive kage:unit 2023-04-23 22:11:57 +09:00
clock all: update URLs in comments 2022-11-21 01:46:50 +09:00
cocoa all: fix typos (#2558) 2023-01-28 19:06:38 +09:00
debug all: replace interface{} with any (#2430) 2022-11-03 15:33:09 +09:00
devicescale all: fix typos (#2558) 2023-01-28 19:06:38 +09:00
file ebiten: implement DroppedFiles to replace AppendDroppedFiles 2023-01-25 14:27:11 +09:00
gamepad internal/gamepad: bug fix: possible crash at iterating gamepads 2023-03-17 11:40:24 +09:00
gamepaddb cmd/ebitenmobile: fix Xbox-ish gamepad axis assignment (#2596) 2023-03-12 22:32:30 +09:00
glfw all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
goglfw internal/goglfw: ignore the invalid-handle error at DestroyWindow 2023-04-18 23:53:26 +09:00
graphics all: add a compiler directive kage:unit 2023-04-23 22:11:57 +09:00
graphicscommand all: add a compiler directive kage:unit 2023-04-23 22:11:57 +09:00
graphicsdriver all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
hooks internal/hooks: Enable to return error at suspend/resume audio 2021-05-04 23:09:01 +09:00
jsutil all: fix typos (#2558) 2023-01-28 19:06:38 +09:00
microsoftgdk internal/microsoftgdk: improve forward compatibility 2022-12-25 22:00:22 +09:00
mipmap internal/graphics: use flatten []float32 slice instead of [][]float32 2022-12-03 20:23:58 +09:00
packing internal/packing: refactoring: remove a redundant check of sizes 2023-04-09 01:13:44 +09:00
png go generate 2023-03-15 03:18:28 +09:00
processtest internal/processtest: output a better error message when failing to compile a Go program 2023-04-01 04:01:39 +09:00
restorable all: add a compiler directive kage:unit 2023-04-23 22:11:57 +09:00
shader all: add a compiler directive kage:unit 2023-04-23 22:11:57 +09:00
shaderir all: add a compiler directive kage:unit 2023-04-23 22:11:57 +09:00
testing all: add a compiler directive kage:unit 2023-04-23 22:11:57 +09:00
thread all: separate the rendering thread from the main thread 2022-12-30 22:57:34 +09:00
ui all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
vibrate all: remove old // +build comments (#2431) 2022-11-03 12:55:14 +09:00
winver internal/goglfw: separate the Windows version detection to a new package winver 2023-03-31 02:16:01 +09:00