Commit Graph

125 Commits

Author SHA1 Message Date
Hajime Hoshi
951e5bccef restorable: Remove Images() 2017-05-04 00:08:07 +09:00
Hajime Hoshi
9f5cf48d24 restorable: Move Images to resotrable package 2017-05-03 23:11:43 +09:00
Hajime Hoshi
6be25d3297 graphics: Remove imageImpl 2017-05-03 02:52:42 +09:00
Hajime Hoshi
b567a07d5f graphics: DrawImage always returns nil (#331) 2017-03-04 01:33:43 +09:00
Hajime Hoshi
6e897d1479 graphcis: Bug fix: Can't dispose textures/framebuffers after the context is lost (fixing #305) 2017-01-22 01:37:08 +09:00
Hajime Hoshi
07294a98b6 Move internal/graphics/opengl -> internal/opengl 2016-11-03 23:31:25 +09:00
Hajime Hoshi
c7106f595c Add error checks 2016-08-02 02:26:44 +09:00
Hajime Hoshi
4ad5c65efe graphics: Rename s/ensure/resolveStale/ 2016-07-27 23:08:28 +09:00
Hajime Hoshi
0fc61ed568 pixels: Rename fuctions 2016-07-26 10:51:48 +09:00
Hajime Hoshi
558f559323 graphics: Remove pixels when inconsistent 2016-07-26 10:35:24 +09:00
Hajime Hoshi
c0eb01d69e pixels: Rename s/flush/reset/ 2016-07-25 09:10:51 +09:00
Hajime Hoshi
95dae4ad45 pixels: Remove 'inconsistent' property 2016-07-25 09:01:00 +09:00
Hajime Hoshi
9bbd5e89c3 graphics: Bug fix: GL context is not available until graphics context is initialized 2016-07-24 06:02:04 +09:00
Hajime Hoshi
8d074ecc20 graphics: Add Pixel's 'inconsistent' state 2016-07-24 01:28:39 +09:00
Hajime Hoshi
823834c013 graphics: Bug fix: dispose offscreen2 2016-07-20 02:09:09 +09:00
Hajime Hoshi
1627176d59 graphics: Restoring by recording drawing-images history 2016-07-13 12:38:59 +09:00
Hajime Hoshi
ebe7f10af1 graphics: Make NewVolatileImage unexported 2016-07-12 01:58:10 +09:00
Hajime Hoshi
e4a7d9bde4 graphics: Remove unneeded clearing 2016-07-06 01:41:49 +09:00
Hajime Hoshi
c7783b2ecf graphics: Clear volatile images at the start of a frame 2016-07-06 01:30:49 +09:00
Hajime Hoshi
31d1af9740 graphics: Add NewVolatileImage (#235) 2016-07-05 03:40:40 +09:00
Hajime Hoshi
17fbffb720 graphics: Rename noSave -> volatile 2016-07-05 03:18:55 +09:00
Hajime Hoshi
793aad2681 graphics: Rename restorePixels -> restore 2016-07-05 03:01:32 +09:00
Hajime Hoshi
760e1aa288 graphics: Add newImageImplFromImage; Rename theImages -> theImagesForRestoring 2016-07-05 01:34:40 +09:00
Hajime Hoshi
163ee01bd5 graphics: Rename Initialize/Resume -> Reset 2016-07-04 00:30:14 +09:00
Hajime Hoshi
2c1bcaf87a graphics: Remove imageM (global lock) 2016-07-03 23:31:03 +09:00
Hajime Hoshi
f7a84fe969 graphics: Move all context usages to internal/graphics 2016-07-03 22:35:27 +09:00
Hajime Hoshi
6e76c3ed6b graphics: Move context.resume() to internal/graphics 2016-07-03 21:42:01 +09:00
Hajime Hoshi
146c1e5846 graphics: Refactoring: Remove graphicsContext.Draw and flush 2016-07-03 18:56:44 +09:00
Hajime Hoshi
fbc1a4238c graphics: Reduce calls of ui.GLContext() 2016-07-03 17:27:33 +09:00
Hajime Hoshi
f29ff4a9e2 graphics: Refactoring: No need to call ResetViewportSize 2016-07-03 16:41:05 +09:00
Hajime Hoshi
93f052de8c graphics: Refactoring 2016-07-03 16:18:29 +09:00
Hajime Hoshi
375d71e085 graphics: Reduce calls of ui.GLContext() 2016-07-03 15:41:04 +09:00
Hajime Hoshi
0519c69c13 graphics: Add Image.noSave 2016-07-03 01:08:47 +09:00
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