Commit Graph

16 Commits

Author SHA1 Message Date
Hajime Hoshi
dbbfcdac73 mobile: Remove an alias Game
Fixes #1126
2020-10-04 16:53:26 +09:00
Hajime Hoshi
bf515bb594 Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
Hajime Hoshi
d7a9193e52 mobile: Enable to compile in non-mobile environments
This was necessary to show API documents on godoc.org and
pkg.go.dev.
2019-11-18 02:18:13 +09:00
Hajime Hoshi
c93075d1dc Add ebitenmobileview package for internal usage
This is a preparation for the ebitenmobile command.
2019-08-11 16:32:40 +09:00
Hajime Hoshi
42cf9d1750 mobile: Lock the OS thread before using mutex
As switching the OS thread by mutex could theoretically happen
(I think this is almost 0% in Ebiten's case), locking the OS
thread should happen before the mutex.
2019-06-08 02:00:40 +09:00
Hajime Hoshi
fa377ce9d1 mobile: Refactoring 2019-06-08 01:57:13 +09:00
Hajime Hoshi
7e5085f15b Add uidriver package and move UI implementation to this packaage 2019-04-07 18:21:16 +09:00
Hajime Hoshi
fd43848568 mobile: Move mutex to mobile.go 2018-05-03 22:07:03 +09:00
Hajime Hoshi
7a00f0f599 mobile: Bug fix: mutex is necessary for start and update
mobile's Start and Update can be called from different threads.
Especially, on Android, this behavior is noted explicitly at
https://developer.android.com/reference/android/opengl/GLSurfaceView.Renderer
2018-05-03 22:02:49 +09:00
Hajime Hoshi
fd71c86e20 mobile: Throw error when update is called without starting (#311) 2017-06-04 22:37:43 +09:00
Hajime Hoshi
112f1419d1 mobile: Start now returns nil 2017-04-18 02:49:14 +09:00
Hajime Hoshi
0ef1e61d55 mobile: Fix iOS tag usages (#310) 2017-01-26 01:32:33 +09:00
Hajime Hoshi
c50f5a3509 mobile: Rename Render -> Update 2016-06-30 02:12:31 +09:00
Hajime Hoshi
cc5fba729a mobile: Remove EventDispatcher 2016-06-25 15:50:03 +09:00
Hajime Hoshi
58218a85b5 mobile: Remove SetScreenSize/Scale 2016-06-25 04:45:19 +09:00
Hajime Hoshi
e30ef050f2 mobile: Make it buildable for desktops (just for comments) 2016-06-25 03:41:56 +09:00