Hajime Hoshi
de20b855b9
ebiten: add comments about termination
2022-08-22 23:30:19 +09:00
Hajime Hoshi
10d50b885f
ebiten: fix typo
...
Closes #2217
2022-07-29 01:02:38 +09:00
Hajime Hoshi
ca8c36499d
ebiten: recommend errors.Is instead of comparing the returned value directly
...
Closes #2152
2022-07-24 23:25:48 +09:00
Hajime Hoshi
0f52381580
ebiten: rename TPS functions
...
* SetMaxTPS() -> SetTPS()
* MaxTPS() -> TPS()
* CurrentTPS() -> ActualTPS()
* CurrentFPS() -> ActualFPS()
Closes #2071
2022-07-17 11:30:12 +09:00
Hajime Hoshi
e05df6a778
internal/ui: refactoring
2022-07-12 12:47:34 +09:00
Hajime Hoshi
08e54ae1a6
internal/ui: rename the TPS functions
...
Updates #2071
2022-07-12 12:25:57 +09:00
Hajime Hoshi
7b8ae76f26
ebiten: update comment about ScreenSizeInFullscreen for browsers
...
Updates #2145
2022-06-16 12:05:12 +09:00
Hajime Hoshi
c379873a1f
rename Ebiten -> Ebitengine
2022-05-25 22:48:19 +09:00
Hajime Hoshi
2fc691f661
internal/clock: rename CurrentFPS/TPS -> ActualFPS/TPS
2022-04-14 00:57:47 +09:00
Hajime Hoshi
06df5bc29d
ebiten: update the comments of the Game interface
2022-04-13 22:53:07 +09:00
divVerent
ea35296be7
ebiten: provide SetScreenFilterEnabled
, a way to disable the default screen filter ( #1997 )
...
Using FilterNearest rather than filterScreen or FilterLinear speeds up a
Dell E6500 from 23fps->36fps and 27fps->48fps.
Updates #1772
2022-02-24 03:46:27 +09:00
Hajime Hoshi
fcd4453e4f
ebiten: remove RunOnMainThread
...
Unfortunately, there are several issues in RunOnMainThread:
* RunOnMainThread cannot be portable: It is impossible to implement this
correctly on mobiles.
* RunOnMainThread doesn't make sense on mobiles: the rendering works on
a different thread (goroutine) on mobiles.
* RunOnMainThread can cause deadlocks very easily.
Until we find a better solution, let's remove this.
Closes #1945
2022-02-14 01:49:42 +09:00
Hajime Hoshi
ce3f83958e
internal/graphicscommand: rename RunOnMainThread -> RunOnRenderingThread
2022-02-14 00:20:49 +09:00
Hajime Hoshi
0529fa955e
ebiten: refactoring: remove the global variable theGameForUI
2022-02-13 20:48:09 +09:00
Hajime Hoshi
82b9f7dc56
ebiten: refactoring: remove setScreenClearedEveryFrame
2022-02-13 20:40:46 +09:00
Hajime Hoshi
0c1c40995c
internal/ui: rename types and members: uiContext -> gameForUI
2022-02-13 20:20:46 +09:00
Hajime Hoshi
2609d73a1a
internal/ui: refactoring: move some logics to internal/ui
2022-02-13 18:01:18 +09:00
Hajime Hoshi
6f72b15912
internal/driver: move some definitions to internal/ui
...
Updates #1983
2022-02-06 18:13:45 +09:00
Hajime Hoshi
149736c3cf
internal/uidriver/*: integrate the packages into internal/ui
...
Updates #1983
2022-02-06 17:23:04 +09:00
Hajime Hoshi
ee1b5e2044
internal/uidriver/mobile: stop requesting a frame on gamepads
...
In general, it is impossible to treat gamepad inputtings as events.
With FPSModeVsyncOffMinimum, the application cannot update with
gamepad inputtings.
2022-02-04 22:46:41 +09:00
Changkun Ou
626c91e360
ebiten: add RunOnMainThread(func()) ( #1927 )
...
Closes #1926
2022-01-03 03:30:29 +09:00
Hajime Hoshi
b7cd990bc3
ebiten: Make it explicit about the goroutine for Game functions
2021-11-26 02:17:04 +09:00
Hajime Hoshi
f08aea7b9c
ebiten: Update comments about CurrentFPS and CurrentTPS
2021-09-08 22:45:26 +09:00
Trevor Slocum
3406430956
Minor typo fixes ( #1793 )
2021-09-01 17:17:54 +09:00
Hajime Hoshi
1706d9436a
ebiten: Add FPSModeType, FPSMode, SetFPSMode, and ScheduleFrame
...
This change adds these APIs:
* type FPSModeType
* func FPSMode
* func SetFPSMode
* func ScheduleFrame
and deprecates these APIs:
* func SetVsyncEnabled
* func IsVsyncEnabled
Closes #1556
2021-07-24 16:09:13 +09:00
Hajime Hoshi
cf8aa0a7b2
ebiten: Fix old and wrong comments
2021-07-24 15:47:11 +09:00
Hajime Hoshi
52567c459f
ebiten: Remove unnecessary casts
2021-07-23 00:57:17 +09:00
Hajime Hoshi
2503323557
internal/driver: Add FPSMode
...
Updates #1556
2021-07-23 00:47:09 +09:00
Hajime Hoshi
c28bcc26fc
internal/clock: Rename UncappedTPS -> SyncWithFPS
...
Closes #1726
2021-07-22 22:46:24 +09:00
Hajime Hoshi
da2db2f54e
ebiten: Add comments about SetCursorShape / CursorShape
2021-07-22 19:17:14 +09:00
Hajime Hoshi
1c3eaba6e3
ebiten: Fix wrong comments
2021-07-22 19:15:11 +09:00
Hajime Hoshi
12960a31ab
ebiten: Refactoring: Move RunWithoutMainLoop to another file
2021-07-04 04:23:41 +09:00
Hajime Hoshi
b51c692e50
ebiten: Fix a comment
2021-05-29 14:35:28 +09:00
Tom Lister
5d3a76cbe6
internal/uidriver/js: Implement {Set,}Fullscreen for browsers ( #1623 )
...
Closes #1611
2021-04-27 23:58:32 +09:00
Hajime Hoshi
c4c331b0d5
Fix misspellings
2021-04-21 22:50:00 +09:00
Hajime Hoshi
78732d93f6
internal/uidriver/glfw: Bug fix: Crash on some operations on native fullscreen mode (macOS)
...
This change forbids some operations when the wiindow is natively
fullscreened on macOS in order to avoid crashes.
Closes #1578
2021-04-18 18:11:33 +09:00
Hajime Hoshi
2661c769ef
ebiten: Update comments
2021-04-17 22:22:51 +09:00
Hajime Hoshi
150b780ebe
ebiten: Add comments about #1575
...
Updates #1575
2021-04-17 17:33:33 +09:00
Hajime Hoshi
54ac6bed1e
ebiten: Refactoring
2021-04-17 17:30:48 +09:00
Hajime Hoshi
5255a54e20
ebiten: Fix the comment about SetCursorMode (again)
...
Updates #1572
2021-04-16 11:57:53 +09:00
Hajime Hoshi
ad8830d2b7
ebiten: Fix the comment about SetCursorMode
...
Updates #1572
2021-04-16 03:27:52 +09:00
Hajime Hoshi
d00d0c8556
ebiten: Add CursorShape/SetCursorShape/CursorShapeType
...
This change adds APIs to enable to use system cursor shapes other
than the default shape (an arrow).
This change doesn't add these cursors since they seem a little
different on macOS from the other platforms.
* GLFW_HRESIZE_CURSOR
* GLFW_VRESIZE_CURSOR
Closes #995
2021-04-16 01:09:19 +09:00
Hajime Hoshi
5c8d8ab2eb
ebiten: Make NewImage/NewImageFromImage panic when RunGame finishes
...
Closes #1149
2021-04-03 18:44:43 +09:00
Hajime Hoshi
d6ee55cb22
ebiten: Update comments
2021-04-03 18:05:36 +09:00
Hajime Hoshi
8d951ea024
ebiten: Update comments
2021-04-03 17:56:34 +09:00
Hajime Hoshi
160441bb07
ebiten: Bug fix: Wrong documentation about SetScreenClearedEveryFrame
...
Closes #1555
2021-03-30 00:32:17 +09:00
Hajime Hoshi
ce24640da8
ebiten: Ensure that Layout is called before Update in the first frame
2020-12-20 21:10:47 +09:00
Hajime Hoshi
eedb947471
Update comments
2020-10-21 03:17:40 +09:00
Hajime Hoshi
2b7362a66b
ebiten: Fix comments
2020-10-18 01:29:35 +09:00
Hajime Hoshi
294f4364da
ebiten: Rename imageDumperGameWithDraw -> imageDumperGame
2020-10-17 18:16:20 +09:00