Hajime Hoshi
|
ca907e2846
|
uidriver/mobile: Refactoring
|
2019-06-01 00:21:59 +09:00 |
|
Hajime Hoshi
|
ffb9871839
|
restorable: Bug fix: Skip the screen image to check invalidation
|
2019-05-28 11:29:34 +09:00 |
|
Hajime Hoshi
|
24822c0a10
|
restorable: Rename clear -> clearForInitialization
|
2019-05-26 23:13:54 +09:00 |
|
Hajime Hoshi
|
b41a333230
|
restorable: Reland: Refactoring
|
2019-05-26 22:16:25 +09:00 |
|
Hajime Hoshi
|
3ab56778e7
|
graphicscommand: Bug fix: restorable should be enabled if not sure
init function in restorable package might reach this condition,
and for fail-safe, restoring should be enabled.
|
2019-05-26 22:15:41 +09:00 |
|
Hajime Hoshi
|
83254d30d9
|
restorable: Bug fix: semantic inconsistency at forceRestoring
|
2019-05-26 21:40:10 +09:00 |
|
Hajime Hoshi
|
da4fabeaa5
|
Revert "restorable: Refactoring"
This reverts commit 3c0cd47b1f .
Reason: Crash on macOS
|
2019-05-26 21:30:08 +09:00 |
|
Hajime Hoshi
|
3c0cd47b1f
|
restorable: Refactoring
|
2019-05-26 21:24:44 +09:00 |
|
Hajime Hoshi
|
fcb5554aa1
|
driver: Add Graphics.NeedsRestoring
|
2019-05-26 19:46:12 +09:00 |
|
Acid147
|
21abd85a63
|
Small cleanup (#877)
* Remove unused variables and constants
* Remove redundant return statement
* Change flock.NewFlock to flock.New
|
2019-05-26 18:06:43 +09:00 |
|
Hajime Hoshi
|
f9cec31bf6
|
clock: Assert that now() must be monotonic
This change adds panics to ensure that now() must be monotonic.
Bug: #875
|
2019-05-24 22:59:02 +09:00 |
|
Hajime Hoshi
|
22dfefab5b
|
clock: Fix coments
|
2019-05-24 03:18:47 +09:00 |
|
Hajime Hoshi
|
bbcee77b02
|
clock: Use time.Since for monotonic timer
Fixes #875
|
2019-05-24 03:16:43 +09:00 |
|
Hajime Hoshi
|
9c1b760016
|
clock: Bug fix: The timer should continue even when the clock is adjusted
If the clock is reversed:
* lastSystemTime should be reset with the current time
* FPS/TPS calculation state should be reset
|
2019-05-24 02:24:32 +09:00 |
|
Hajime Hoshi
|
0eb5ef0141
|
clock: Remove unused variables
|
2019-05-24 02:20:23 +09:00 |
|
Hajime Hoshi
|
c2bc6408a3
|
clock: Bug fix: Do not pacic even when the clock is reversed
It is theoreticaly possible to change the clock. Ebiten should not
panic whatever the clock time is.
|
2019-05-24 02:14:24 +09:00 |
|
Hajime Hoshi
|
da671a6d8c
|
glfw: Better way to get C files
|
2019-05-20 03:48:58 +09:00 |
|
Hajime Hoshi
|
289fb77d20
|
glfw: Sort C files in alphabetical order
|
2019-05-20 03:48:49 +09:00 |
|
Hajime Hoshi
|
f461ba2379
|
shareable: Misspelling
|
2019-05-12 17:53:18 +09:00 |
|
Hajime Hoshi
|
bc4e35a6c5
|
shareable: Make images shared when possible
Fixes #864
|
2019-05-12 00:36:15 +09:00 |
|
Hajime Hoshi
|
b03c02dd28
|
graphicsdriver/metal: Bug fix: Reading pixels from GPU causes blinking
Metal's Drawable should be obtained only when needed, or reading
pixels from GPU causes the blinking screen.
Fixes #865
|
2019-05-11 23:52:35 +09:00 |
|
Hajime Hoshi
|
0bed5a96d5
|
clock: Better URL to explain being monotonic
|
2019-05-09 02:45:43 +09:00 |
|
Hajime Hoshi
|
009fa9accd
|
clock: Ensure that now() is monotonic
|
2019-05-09 02:44:14 +09:00 |
|
Hajime Hoshi
|
c65d035cc9
|
clock: Bug fix: Use float64 not to overflow
Bug: #862
|
2019-05-09 01:14:48 +09:00 |
|
Hajime Hoshi
|
39395c4c76
|
graphicscommand: Rename draw-image -> draw-triangles
|
2019-05-08 11:58:17 +09:00 |
|
Hajime Hoshi
|
9a31bcd53d
|
devicescale: Remove the updating loop
Now the value is cached, the updating loop is no longer needed.
|
2019-05-08 01:14:22 +09:00 |
|
Hajime Hoshi
|
836e320b6b
|
devicescale: Refactoring
|
2019-05-05 18:09:49 +09:00 |
|
Hajime Hoshi
|
ea284d86fd
|
graphicsdriver/metal: Add setView for iOS and non-iOS
|
2019-05-03 03:08:46 +09:00 |
|
Hajime Hoshi
|
10fb5e33be
|
Replace GopherWasm with syscall/js
Fixes #857
|
2019-05-01 17:28:00 +09:00 |
|
Hajime Hoshi
|
cce41e8152
|
graphics: Rename DrawImage -> DrawTriangles for consistency
|
2019-04-22 23:12:36 +09:00 |
|
Hajime Hoshi
|
7d9bc8586e
|
graphcisdriver/metal: Better comment
|
2019-04-20 17:05:05 +09:00 |
|
Hajime Hoshi
|
b99f4c61b5
|
graphicsdriver/metal: Make (*Driver).Flush do nothing
|
2019-04-20 16:50:40 +09:00 |
|
Hajime Hoshi
|
72be1bde24
|
graphicsdriver/metal: Set and reset screenDrawable more correctly
|
2019-04-20 16:26:34 +09:00 |
|
Hajime Hoshi
|
a064955a13
|
graphicsdriver/metal: Use NSAutoreleasePool to release drawable correctly
Fixes #847
|
2019-04-20 15:20:38 +09:00 |
|
Hajime Hoshi
|
bfe1d2208e
|
Revert "graphicsdriver/metal: Bug fix: Release drawable correctly"
This reverts commit c44accbfb5 .
Reason: This change doesn't make sense
|
2019-04-20 00:28:09 +09:00 |
|
Hajime Hoshi
|
c44accbfb5
|
graphicsdriver/metal: Bug fix: Release drawable correctly
Fixes #847
|
2019-04-19 20:23:00 +09:00 |
|
Hajime Hoshi
|
865523048d
|
uidriver/js: Bug fix: Touches were not updated correctly
Fixes #846
|
2019-04-15 03:01:02 +09:00 |
|
Hajime Hoshi
|
e6c0c73b9e
|
graphicscommand: Add assertion (the screen cannot be a render source)
|
2019-04-13 00:22:11 +09:00 |
|
Hajime Hoshi
|
5afcc65387
|
shareable: Add comments
|
2019-04-11 18:15:56 -07:00 |
|
Hajime Hoshi
|
db689f4e50
|
driver: Remove UI.Loop and add UI.RunWithoutMainLoop
|
2019-04-09 21:55:59 -04:00 |
|
Hajime Hoshi
|
864c28e8d9
|
Revert "uidriver/glfw: Rename ui_unix.go -> ui_linbsd.go"
This reverts commit 794ccd6ade .
|
2019-04-09 01:06:07 -04:00 |
|
Hajime Hoshi
|
794ccd6ade
|
uidriver/glfw: Rename ui_unix.go -> ui_linbsd.go
|
2019-04-09 00:39:20 -04:00 |
|
Hajime Hoshi
|
24fdcdd8e4
|
uidriver: Rename updateGraphics -> updateSize
|
2019-04-08 23:49:31 -04:00 |
|
Hajime Hoshi
|
f6367308fc
|
driver: Rename GraphicsContext -> UIContext
|
2019-04-08 23:28:08 -04:00 |
|
Hajime Hoshi
|
aecfd6b13d
|
uidriver: Remove dependency on hooks package
|
2019-04-08 23:13:44 -04:00 |
|
Hajime Hoshi
|
099c7bd5c9
|
driver: Remove Touch struct
|
2019-04-07 19:25:10 -04:00 |
|
Hajime Hoshi
|
08308a7edf
|
uidriver/mobile: Refactoring
|
2019-04-07 18:51:32 -04:00 |
|
Hajime Hoshi
|
0aa3135082
|
driver: Remove UI.AdjustPosition
|
2019-04-07 19:31:49 +09:00 |
|
Hajime Hoshi
|
26c32d36b5
|
uidriver: Move input implementation to uidrivers
|
2019-04-07 19:16:00 +09:00 |
|
Hajime Hoshi
|
a1697feeb1
|
driver: Add UI.Input()
|
2019-04-07 18:37:54 +09:00 |
|