Commit Graph

9776 Commits

Author SHA1 Message Date
Hajime Hoshi
42209606b1 internal/ui: disable IME and enable it only when necessary
Closes #2918
2024-08-27 02:22:30 +09:00
Hajime Hoshi
5f595efef0 examples/textinput: remove message
Updates #3072
2024-08-27 00:02:31 +09:00
Hajime Hoshi
dc68152f17 internal/shader: better error message for the fragment entry point 2024-08-25 19:38:57 +09:00
Hajime Hoshi
9693ce8382 internal/shader: allow less arguments at Fragment
Closes #3073
2024-08-25 19:17:41 +09:00
Hajime Hoshi
e2662a8af7 internal/shader: bug fix: wrong indexing 2024-08-25 18:58:05 +09:00
Hajime Hoshi
41b762ba2c ebiten: update comments
Updates #2640
2024-08-25 18:45:26 +09:00
Hajime Hoshi
2cc809516f ebiten: add Vertex.Custom0 to Custom3
Closes #2640
2024-08-25 18:11:39 +09:00
Hajime Hoshi
bff760af01 internal/shader: bug fix: test failures
Updates #2640
2024-08-25 17:43:44 +09:00
Hajime Hoshi
fef487e09d internal/shaderir/hlsl: refactoring: more flexible generation
Updates #2640
2024-08-25 17:27:00 +09:00
Hajime Hoshi
ed45843c13 internal/graphicsdriver/opengl: assume custom attributes are vec4
Due to HLSL restrictions, all the attributes must have a semantics.
Always assuming custom attributes are vec4 makes things simpler.

Updates #2640
2024-08-25 17:11:28 +09:00
Hajime Hoshi
107189a00d internal/shader: use strings.TrimPrefix 2024-08-25 15:43:44 +09:00
Hajime Hoshi
7142a3bcd9 internal/graphicsdriver/opengl: bug fix: total must be reset 2024-08-25 15:29:22 +09:00
Hajime Hoshi
d570406735 all: update ebitengine/gomobile 2024-08-25 13:39:36 +09:00
Hajime Hoshi
65aec12d88 all: update PureGo to v0.8.0-alpha.5 2024-08-25 13:03:30 +09:00
Hajime Hoshi
a42a8548b1 internal/shader: refactoring 2024-08-25 12:57:11 +09:00
Hajime Hoshi
6db3b11b36 internal/shader: refactoring 2024-08-25 12:29:24 +09:00
Hajime Hoshi
3547d999b1 internal/graphicsdriver/opengl/gl: bug fix: crash when log length is 0 2024-08-25 11:45:54 +09:00
Hajime Hoshi
dd63eef65e textinput: support every environment even without IME
Closes #3072
2024-08-24 01:06:52 +09:00
Hajime Hoshi
f3bd56b0ed all: update bitmapfont to v3.2.0-alpha.4 2024-08-24 00:02:49 +09:00
Hajime Hoshi
9ad7fe5bed internal/shader: refactoring 2024-08-23 11:05:14 +09:00
Hajime Hoshi
d3d42b3263 internal/shader: refactoring: varying variables 2024-08-23 10:57:59 +09:00
Hajime Hoshi
b71f3f86a8 ebiten: add check that graphics.VertexFloatCount and Vertex match 2024-08-23 09:58:28 +09:00
Hajime Hoshi
df266e8acf text/v2: add Glyph.OriginOffset{X,Y}
Closes #3070
2024-08-23 03:59:16 +09:00
Hajime Hoshi
6056fc59eb text/v2: update comments about CacheGlyphs
The example was not clear.
2024-08-23 00:13:20 +09:00
Hajime Hoshi
a3d084e2de text/v2: add Glyph.Origin{X,Y}
Closes #3070
2024-08-23 00:00:30 +09:00
Hajime Hoshi
b131264c77 text/v2: add comments 2024-08-20 21:06:27 +09:00
Hajime Hoshi
35f9b1c224 ebiten: add RunGameOptions.DisableHiDPI
Closes #2987
2024-08-20 00:02:57 +09:00
Hajime Hoshi
789388618d all: add playstation5 dummy package 2024-08-18 11:54:48 +09:00
Hajime Hoshi
ba1af60480 all: update comments 2024-08-18 11:14:25 +09:00
Hajime Hoshi
8f32cc19c5 audio: update comments 2024-08-18 11:13:35 +09:00
Hajime Hoshi
48f79af884 shaderprecomp: retract shaderprecomp package
With #2984, we realized some considerations:

* Builtin shaders don't have to or should not be exposed.
* The shader complation processes like what the examples/shaderprecomp
  does can be provided by this package

Thus, until we decide a better API design, we'd like to retract the
package once.

Updates #2861
2024-08-18 11:09:16 +09:00
Hajime Hoshi
9c931c4c97 shaderprecomp: remove a file for PS5 2024-08-18 00:52:34 +09:00
Hajime Hoshi
17322c9c3b all: reduce files for PS5 2024-08-17 23:06:01 +09:00
Hajime Hoshi
26038c2ac1 internal/ui: bug fix: an unexpected scroll bar was shown
Closes #3066
2024-08-16 23:57:52 +09:00
Hajime Hoshi
949d6abe6f all: update dependencies 2024-08-14 10:43:28 +09:00
Hajime Hoshi
abaad0b6f2 .github/workflows: use the released version of Go 1.23 2024-08-14 09:15:56 +09:00
Hajime Hoshi
435c8b75eb internal/graphicsdriver/opengl: automatically adjust the array buffer layout
Updates #2640
2024-08-12 04:08:02 +09:00
Hajime Hoshi
9e208eee81 all: use QuadVerticesFromDstAndSrc when possible 2024-08-12 02:42:36 +09:00
Hajime Hoshi
b6ab7a10c1 internal/graphics: unify QuadVertices
This is a preparation for adding members to Vertex.

Updates #2640
2024-08-12 00:29:24 +09:00
Hajime Hoshi
6cd00f3b88 internal/graphicsdriver/opengl: exclude playstation5 2024-08-11 22:41:21 +09:00
Hajime Hoshi
9a751d7c26 internal/mipmap: refactoring 2024-08-11 22:33:21 +09:00
Hajime Hoshi
e6807794f2 internal/mipmap: refactoring 2024-08-11 22:29:15 +09:00
Hajime Hoshi
5e820be911 internal/buffered: refactoring
This is a preparation for adding members to Vertex.

Updates #2640
2024-08-11 22:25:45 +09:00
Hajime Hoshi
5f80f4b3de all: refactoring 2024-08-11 21:43:00 +09:00
Hajime Hoshi
b9c24f786a ebiten: add BenchmarkDrawTriangles 2024-08-11 16:41:19 +09:00
Hajime Hoshi
89933bf0ab internal/graphicsdriver/playstation5: bug fix: compile error 2024-08-10 21:52:38 +09:00
Hajime Hoshi
332da38565 internal/graphicsdriver/playstation5: update DrawTriangles
A Go pointer in a C struct could cause some troubles.
2024-08-10 21:21:09 +09:00
Hajime Hoshi
fbf40a4455 vector: bug fix: isPointCloseToSegment didn't work when two p0 and p1 are the same
Closes #3061
2024-08-10 17:13:09 +09:00
Hajime Hoshi
fc37cdedeb vector: reuse previous allocated subpaths
Closes #3060
2024-08-10 15:13:23 +09:00
Hajime Hoshi
309c886c2e vector: use value type for subpath
Updates #3060
2024-08-10 15:04:13 +09:00