Commit Graph

92 Commits

Author SHA1 Message Date
Hajime Hoshi
baba009a28 graphics: Better scaling (especially for the case 1 < scale < 2) 2016-06-25 04:15:30 +09:00
Hajime Hoshi
5983e94cb8 graphics: Better scaling with a real number (#236) 2016-06-25 01:27:03 +09:00
Hajime Hoshi
bb511b2c13 ui: Scale is now float64 (#236) 2016-06-25 01:26:59 +09:00
Hajime Hoshi
42332c7b49 graphics: Fix a comment 2016-06-24 01:24:08 +09:00
Hajime Hoshi
e9de66aca2 graphics: Reset Viewport cache at each frame 2016-06-22 02:08:58 +09:00
Hajime Hoshi
98fccb563e graphics: Bug fix: Need to reset viewport size after resizing (#232) 2016-06-18 06:47:35 +09:00
Hajime Hoshi
5eb77d2fb5 Remove 'default framebuffer' and add 'screen framebuffer' for iOS 2016-06-18 04:56:13 +09:00
Hajime Hoshi
4d8897b785 graphics: Refactoring 2016-06-14 02:10:43 +09:00
Hajime Hoshi
b852f5a0f7 graphics: Bug fix: Initialize must be done even when Draw is called first 2016-06-14 00:55:25 +09:00
Hajime Hoshi
6640f60c88 graphics: Bug fix: screen flicks on Android (#229) 2016-06-14 00:30:27 +09:00
Hajime Hoshi
a1fbf2cd2d graphics: Remove 'Resume' 2016-06-12 23:54:36 +09:00
Hajime Hoshi
d99bfaf034 graphice: Dispose old images before restoring 2016-06-12 20:57:02 +09:00
Hajime Hoshi
870ce85615 opengl: Remove Pause 2016-06-12 18:18:43 +09:00
Hajime Hoshi
15e85398e2 graphics: Save pixels more aggressively 2016-06-12 17:12:37 +09:00
Hajime Hoshi
fabed66b4a graphics: Remove delayedImageTasks 2016-06-12 00:32:35 +09:00
Hajime Hoshi
b59206b777 graphics: Move command flushing to ebiten package 2016-06-11 21:50:13 +09:00
Hajime Hoshi
dfd4bc89ed graphics: Revert FlushCommand execution 2016-06-11 20:21:14 +09:00
Hajime Hoshi
912d498cdf graphics: Remove unused arguments 2016-06-11 05:48:09 +09:00
Hajime Hoshi
f897c3958e graphics: Fix restoring logic 2016-06-11 01:25:03 +09:00
Hajime Hoshi
f71dcd3466 Remove 'Pause' 2016-06-11 00:57:10 +09:00
Hajime Hoshi
f03a99e89a opengl: Add Resume() and Pause() 2016-06-10 01:19:10 +09:00
Hajime Hoshi
cabea24815 graphics: Move glFlush to a more appropriate place 2016-06-07 03:02:15 +09:00
Hajime Hoshi
83a96dc532 android: Bug fix: Black flicking (#226) 2016-06-07 02:24:36 +09:00
Hajime Hoshi
3195ae32d8 mobile: Implement Pause/Resume 2016-05-24 00:00:54 +09:00
Hajime Hoshi
6d06b01cae gomobile bind works 2016-05-22 04:25:15 +09:00
Hajime Hoshi
dbd6ed8139 graphics: Move theDelayedImageTasks.exec() to newImageWithZeroFramebuffer 2016-05-18 22:45:15 +09:00
Hajime Hoshi
4d04413bf9 ui: Move the run loop to internal/ui 2016-05-18 10:46:23 +09:00
Hajime Hoshi
da0196911d graphics: Refactoring: Now all Image objects are generated from New* funcs 2016-05-15 21:08:39 +09:00
Hajime Hoshi
c291e2abad graphics: Refactoring 2016-05-11 00:48:30 +09:00
Hajime Hoshi
c3d8cf2366 graphics: Make Image functions concurrent safe (#201) 2016-04-07 03:49:11 +09:00
Hajime Hoshi
deabfa5e15 graphics: Clear the default render target just after initializing 2016-03-21 23:24:30 +09:00
Hajime Hoshi
b3d7e04de5 ui: Introduce IsRunningSlowly (#168) 2016-02-28 02:28:16 +09:00
Hajime Hoshi
8788c8439f Refactoring: Remove postUpdate 2016-02-28 00:11:27 +09:00
Hajime Hoshi
e2f528d206 Refactoring: unify preUpdate and calling f 2016-02-27 23:39:06 +09:00
Hajime Hoshi
63f2c3cb9f graphics: Refactoring: remove ExecOnUIThread 2016-02-20 04:39:43 +09:00
Hajime Hoshi
e8c2e5f3d6 image: Add image.Dipose and image.IsDisposed 2016-02-07 01:27:55 +09:00
Hajime Hoshi
633ee4096e #132 Temporal hack to run with Go1.5 2015-07-22 23:28:15 +09:00
Hajime Hoshi
936942a28d Add comments 2015-02-20 02:01:56 +09:00
Hajime Hoshi
af09da1665 graphics: Rename defaultR -> defaultRenderTarget 2015-02-19 01:12:00 +09:00
Hajime Hoshi
249add3979 Add SetScreenSize 2015-02-09 11:02:04 +09:00
Hajime Hoshi
3964944deb Move ui_*.go back to internal/ui again 2015-01-27 22:37:00 +09:00
Hajime Hoshi
346bc53d53 Move internal/opengl -> internal/graphics/internal/opengl 2015-01-26 23:27:28 +09:00
Hajime Hoshi
01dbc515b5 Remove innerImage 2015-01-12 19:54:25 +09:00
Hajime Hoshi
4226354e4a Use new style methods of matrices 2015-01-05 10:30:33 +09:00
Hajime Hoshi
96f5315c49 Add internal/ui module 2015-01-02 02:13:27 +09:00
Hajime Hoshi
e10bcb3dd8 Move some methods to opengl.Context 2014-12-31 19:27:41 +09:00
Hajime Hoshi
dc6a153c65 Add opengl.Context.NewShader 2014-12-31 16:12:13 +09:00
Hajime Hoshi
fbcd04cda8 Add opengl.Framebuffer.SetAsViewport 2014-12-31 15:22:15 +09:00
Hajime Hoshi
cc9b874dd0 Add opengl.NewTexture 2014-12-31 15:00:28 +09:00
Hajime Hoshi
450a8da267 Rename internal/opengl -> internal/graphics 2014-12-31 02:55:17 +09:00