Hajime Hoshi
0ac927f004
internal/uidriver/glfw: Bug fix: Forbide Maximize/MinimizeWindow on the native fullscreen on macOS
...
Closes #1810
2021-09-12 23:40:31 +09:00
Hajime Hoshi
74641b1941
internal/uidriver/glfw: Bug fix: Update vsync every frame
...
Closes #1787
2021-08-26 02:03:30 +09:00
Hajime Hoshi
7aefac3f5f
Update go-gl/glfw for GLFW 3.3.4
...
Updates #1229
2021-08-19 10:47:06 +09:00
Hajime Hoshi
f463ec79c8
Update GLFW: suppress joystick issue at PollEvents
...
Updates #1229
2021-08-19 09:54:26 +09:00
Hajime Hoshi
8feb58026c
Update GLFW: suppress joystick issue (again)
...
Updates #1229
2021-08-19 09:51:31 +09:00
Hajime Hoshi
8c26452e46
Update GLFW: suppress joystick issue
...
Updates #1229
2021-08-19 09:51:03 +09:00
Hajime Hoshi
3499b1099d
ebiten: Bug fix: Remove an unexpected test
...
This fix is not in this branch, then the test always fails.
Updates #1701
Updates #1754
2021-08-15 18:55:51 +09:00
Hajime Hoshi
c0a29f4c1e
internal/shaderir/glfw: Insert a dummy function to touch uniform array variables
...
Closes #1754
2021-08-15 18:10:20 +09:00
Hajime Hoshi
6efc01b7ab
internal/graphicsdriver/opengl: Bug fix: A location cache map must be reset when a program is deleted
...
Closes #1753
2021-08-15 04:55:41 +09:00
Hajime Hoshi
57a2db982b
internal/atlas: Bug fix: Disable a test resetting the backend
...
Closes #1756
2021-08-15 00:03:38 +09:00
Hajime Hoshi
440801c20c
internal/graphicsdriver/opengl: Bug fix: the current program must be reset
...
Updates #1751
2021-08-13 23:44:56 +09:00
Hajime Hoshi
ebfe494f4f
internal/glfw: Use a more stable version of MinGW
...
Closes #1750
2021-08-13 03:38:31 +09:00
Hajime Hoshi
685ae7485c
internal/graphicsdriver: Bug fix: getting a WebGL2 context might fail even though WebGL2RenderingContext exists
...
Closes #1738
2021-08-01 22:10:59 +09:00
Hajime Hoshi
38e1094219
internal/atlas: Bug fix: Wrong screenshot size
...
Updates #1736
2021-07-29 16:34:13 +09:00
Hajime Hoshi
0cb3b791d2
Update test for Ebiten v2.1
2021-07-29 16:20:12 +09:00
Hajime Hoshi
faa18c62cc
ebiten: Fix old and wrong comments
2021-07-29 16:12:21 +09:00
Hajime Hoshi
8a4bace022
ebiten: Fix wrong comments
2021-07-29 16:12:21 +09:00
Hajime Hoshi
14c7af9694
internal/atlas: Bug fix: Unexpected padding in screenshots
...
Closes #1736
2021-07-29 16:10:13 +09:00
Hajime Hoshi
1b415ad7f6
internal/uidriver/glfw: Bug fix: Memory leak in Objective-C code
...
Use an autorelease pool block.
Closes #1698
2021-07-07 04:40:54 +09:00
Hajime Hoshi
a6ea4dbb74
ebiten: Bug fix: Fill on a sub-image didn't work correctly
...
Closes #1691
2021-07-02 22:42:49 +09:00
Hajime Hoshi
8ab047853e
internal/glfw: Bug fix: build failure with GOOS=js
...
Updates #1672
2021-06-13 23:00:40 +09:00
Hajime Hoshi
7371f2fe61
internal/glfw: Clean up the code
...
Updates #1672
2021-06-13 22:49:05 +09:00
Hajime Hoshi
2ce104de0d
internal/glfw: Bug fix: NewCallbackCDecl objects were leaked
...
Callbacks created by NewCallbackCDecl were never released and then
they are leaked, especially when the window size was changed by
SetWindowSize on Windows.
This change defines new callback ID types with uintptr, and reuse
the callbacks.
Closes #1672
2021-06-13 22:32:53 +09:00
Hajime Hoshi
d528f76e2a
cmd/ebitenmobile: Clean the temporary directory up after the execution
...
Closes #1668
2021-06-10 02:13:46 +09:00
Hajime Hoshi
1341b3f471
cmd/ebitenmobile: Bug fix: os.WriteFile is not defined at Go 1.15
...
Updates #1667
2021-06-09 23:00:25 +09:00
Hajime Hoshi
b30d626e9a
cmd/ebitnmobile: Bug fix: using ebitenmobile with EBITENMOBILE_GOMOBILE failed
...
Closes #1667
2021-06-09 22:51:53 +09:00
Hajime Hoshi
ca331f3c67
Revert "cmd/ebitenmobile: Remove gomobile init"
...
This reverts commit ecc8514d4b
.
Reason: This doesn't fix the issue. gomobile assumes the existence of $GOPATH/pkg/gomobile, so leave it as it is.
Updates #1666
2021-06-09 12:58:35 +09:00
Hajime Hoshi
f4574590b5
cmd/ebitenmobile: Remove gomobile init
...
`gomobile init` installs gobind at $GOPATH/bin, but this is not
needed for ebitenmobile.
Updates #1666
2021-06-09 12:21:23 +09:00
Hajime Hoshi
d06e9c140c
Revert "Revert 2 commits using ColorM cache"
...
This reverts commit 0cd0921e6f
.
Reason: DrawTriangles worked fine for the reporter's purpose.
Updates #1655
2021-05-30 15:24:14 +09:00
Hajime Hoshi
4457dc1c95
Revert "Revert "ebiten: Update the comments of (*Image).SubImage""
...
This reverts commit 5ae307ef5a
.
Reason: Mistake
2021-05-30 15:23:57 +09:00
Hajime Hoshi
5ae307ef5a
Revert "ebiten: Update the comments of (*Image).SubImage"
...
This reverts commit d05bd7a58c
.
Reason: DrawTriangles worked fine for the reporter's purpose.
Updates #1655
2021-05-30 15:18:00 +09:00
Hajime Hoshi
0cd0921e6f
Revert 2 commits using ColorM cache
...
This reverts commit 87c8625692
.
This reverts commit a6dd6196b4
.
Reason: Performance regression (#1655 )
Closes #1655
2021-05-30 03:14:47 +09:00
Hajime Hoshi
d05bd7a58c
ebiten: Update the comments of (*Image).SubImage
...
Closes #1643
2021-05-13 21:24:19 +09:00
Hajime Hoshi
97fa948e5e
audio/internal/readerdriver: Bug fix: createBuffer failed when the buffer size is 0
...
When the decoded audio size is exactly multiples of an internal
buffer size, the buffer's size becomes exactly zero when being
appended. In this case, createBuffer fails and the application
crashes.
This change fixes this issue by skipping to append a buffer in such
cases.
Closes #1635
2021-05-07 02:37:30 +09:00
Hajime Hoshi
1b5b861735
audio: Bug fix: Compile error on the tests
...
Updates #1630
2021-05-04 22:11:06 +09:00
Hajime Hoshi
273f2fb8f4
audio/internal/readdriver: Bug fix: Implement Suspend/Resume for browsers
...
Closes #1630
2021-05-04 18:51:25 +09:00
Hajime Hoshi
03b46502e0
text: Add explanation about cache limit
2021-04-27 02:36:46 +09:00
Hajime Hoshi
202fa5e6e7
text: Improve the comment
2021-04-27 02:29:04 +09:00
Hajime Hoshi
df4c8532df
text: Improve the comments
2021-04-27 02:20:22 +09:00
Hajime Hoshi
ec3e10e3f7
text: Improve the comment
2021-04-27 02:00:38 +09:00
Hajime Hoshi
53e4810b6d
internal/uidriver/glfw: Avoid busy loop by sleeping
...
Updates #1580
2021-04-24 05:20:10 +09:00
Hajime Hoshi
a0987db0c6
Remove the badge for Travis CI
2021-04-24 03:54:47 +09:00
Hajime Hoshi
099d9482f2
internal/uidriver/glfw: Bug fix: Deadlock at FramebufferSize callback
...
glfw.PollEvents might invoke multiple FramebufferSize callbacks in
theory, this is very rare though. In this case, the sending an object
to the channel never ends.
This change fixes this deadlock by using 'select'.
Closes #1618
2021-04-24 02:23:31 +09:00
Hajime Hoshi
f063f3ef67
internal/uidriver/glfw: Fix comments
...
Updates #1618
2021-04-23 03:28:31 +09:00
Hajime Hoshi
b726d19b00
internal/uidriver/glfw: Bug fix: Always wait for SetFramebuffer
...
In case when the callback is not called, let's use timeout.
Updates #1618
2021-04-23 03:03:16 +09:00
Hajime Hoshi
ed62bffff1
Update version to v2.1.0-rc.1
2021-04-21 22:52:31 +09:00
Hajime Hoshi
c4c331b0d5
Fix misspellings
2021-04-21 22:50:00 +09:00
Hajime Hoshi
4cb6cb9d6a
internal/uidriver/glfw: Misspelling
2021-04-21 22:29:54 +09:00
Hajime Hoshi
1013ca9c66
internal/uidriver/glfw: Bug fix: A window can never be 'maximized' on fullscreen
...
When the window is fullscreen, calling MaximizeWindow never returned.
Apparently the attribute glfw.Maximized can never be true on the
fullscreen mode.
This change fixes the issue by checking the fullscreen state.
2021-04-21 22:25:14 +09:00
corfe83
d24313e236
internal/devicescale: Fallback to simpler logic when trying to get DPI from monitor and failing ( #1600 )
...
Closes #1612
2021-04-21 11:43:23 +09:00