Commit Graph

167 Commits

Author SHA1 Message Date
Hajime Hoshi
c7783b2ecf graphics: Clear volatile images at the start of a frame 2016-07-06 01:30:49 +09:00
Hajime Hoshi
1fdfa5707a graphics: Fix a comment 2016-07-05 11:43:47 +09:00
Hajime Hoshi
31d1af9740 graphics: Add NewVolatileImage (#235) 2016-07-05 03:40:40 +09:00
Hajime Hoshi
11e67d0eed graphics: Refactoring 2016-07-05 03:15:32 +09:00
Hajime Hoshi
793aad2681 graphics: Rename restorePixels -> restore 2016-07-05 03:01:32 +09:00
Hajime Hoshi
7e296b1aae graphics: Bug Fix: The screen image should be recreated 2016-07-05 02:57:41 +09:00
Hajime Hoshi
6cb1c929b5 graphics: Bug fix: Reset finalizer of *Image 2016-07-05 02:16:49 +09:00
Hajime Hoshi
760e1aa288 graphics: Add newImageImplFromImage; Rename theImages -> theImagesForRestoring 2016-07-05 01:34:40 +09:00
Hajime Hoshi
eac816ca47 graphics: Remove imageImpl.screen 2016-07-05 01:23:29 +09:00
Hajime Hoshi
085336d50f graphics: Add newImageImpl 2016-07-05 00:24:06 +09:00
Hajime Hoshi
006f918b8e graphics: Bug fix: Call theImages.add after initializing (#242) 2016-07-04 23:41:57 +09:00
Hajime Hoshi
d70bf66a59 graphics: Reduce imageM usages 2016-07-03 23:23:57 +09:00
Hajime Hoshi
86144a1cd6 opengl: Move members to variables 2016-07-03 18:23:19 +09:00
Hajime Hoshi
89fe69d564 graphics: Separate image.go into image.go and imageimpl.go 2016-07-03 14:42:28 +09:00
Hajime Hoshi
22655682fb graphics: Smaller scope for the lock 2016-07-03 03:08:41 +09:00
Hajime Hoshi
5826a958e1 graphics: Add a comment 2016-07-03 02:47:12 +09:00
Hajime Hoshi
0519c69c13 graphics: Add Image.noSave 2016-07-03 01:08:47 +09:00
Hajime Hoshi
fb8b6e93e5 graphics: Add TestNewImageFromSubImage (not bug fix) 2016-07-02 23:24:43 +09:00
Hajime Hoshi
5e892b3887 graphics: Add a comment about bug #211 2016-07-01 18:27:01 +09:00
Hajime Hoshi
5eb77d2fb5 Remove 'default framebuffer' and add 'screen framebuffer' for iOS 2016-06-18 04:56:13 +09:00
Hajime Hoshi
3f18096e95 graphics: Refactoring: Remove unneeded function 2016-06-13 00:01:01 +09:00
Hajime Hoshi
a1fbf2cd2d graphics: Remove 'Resume' 2016-06-12 23:54:36 +09:00
Hajime Hoshi
854fa6f32c graphics: Bug fix: double disposing 2016-06-12 23:13:41 +09:00
Hajime Hoshi
2a0ca3c393 graphics: Set pixels at NewImageFromImage 2016-06-12 21:29:25 +09:00
Hajime Hoshi
ea440f5b17 graphics: Bug fix: Don't touch interface after locking 2016-06-12 21:19:54 +09:00
Hajime Hoshi
d99bfaf034 graphice: Dispose old images before restoring 2016-06-12 20:57:02 +09:00
Hajime Hoshi
bd60f6eb9b graphics: Move locks before manipulating theImages 2016-06-12 17:48:08 +09:00
Hajime Hoshi
15e85398e2 graphics: Save pixels more aggressively 2016-06-12 17:12:37 +09:00
Hajime Hoshi
eca175e0f4 graphics: Add Image 2016-06-12 01:34:21 +09:00
Hajime Hoshi
32e773cf10 Refactoring 2016-06-12 00:47:44 +09:00
Hajime Hoshi
fabed66b4a graphics: Remove delayedImageTasks 2016-06-12 00:32:35 +09:00
Hajime Hoshi
32c2cb3ead graphics: Add commands to create textures/framebuffers 2016-06-12 00:23:26 +09:00
Hajime Hoshi
2a58c095b8 graphics: Add disposeCommand 2016-06-11 22:52:07 +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
127cd4cab6 graphics: Remove 'evacuated' state 2016-06-11 01:13:38 +09:00
Hajime Hoshi
f71dcd3466 Remove 'Pause' 2016-06-11 00:57:10 +09:00
Hajime Hoshi
66e78922f8 graphics: Fix a comment 2016-06-07 23:50:01 +09:00
Hajime Hoshi
8d17d1876c graphics: Revert transitionImageParts since this didn't affect the speed 2016-06-06 00:23:18 +09:00
Hajime Hoshi
33b50ed294 graphics: Reduce calls of glUniformMatrix4fv 2016-06-05 23:32:25 +09:00
Hajime Hoshi
1ccdfd9a35 graphics: Reduce a space line 2016-06-05 03:17:24 +09:00
Hajime Hoshi
4812f2e76e graphics: Reduce calls of glUniformMatrix4fv 2016-06-05 00:35:58 +09:00
Hajime Hoshi
f6fd8f9c6d graphics: Reduce calling glUseProgram 2016-05-29 22:40:51 +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
a35064db7d ui: Add ui.GLContext() 2016-05-18 11:10:03 +09:00
Hajime Hoshi
063ed564fd Move the run loop to internal/loop 2016-05-18 10:59:37 +09:00
Hajime Hoshi
4d04413bf9 ui: Move the run loop to internal/ui 2016-05-18 10:46:23 +09:00