Commit Graph

113 Commits

Author SHA1 Message Date
Hajime Hoshi
23863d5a2f graphics: Add Image.evacuatePixels and restorePixels and introduce images 2016-05-17 00:22:32 +09:00
Hajime Hoshi
fbd07b1865 graphics: Simplify the size of pixels 2016-05-16 12:27:28 +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
9d25a5f785 graphics: Remove wrong comments 2016-05-14 05:34:55 +09:00
Hajime Hoshi
e0d1e35e81 graphics: Add comment 2016-05-13 23:40:23 +09:00
Hajime Hoshi
f1f3bcc257 graphics: Bug fix: Concurrent-safe check in (*Image).At 2016-05-12 11:36:09 +09:00
Hajime Hoshi
9d569e3e49 graphics: Bug fix: now ebiten.Image can be passed to NewImageFromImage (#213) 2016-05-12 11:23:52 +09:00
Hajime Hoshi
15d48703fc graphics: Bug fix: NewImageFromImage with ebiten.Image froze (#212) 2016-05-12 02:00:22 +09:00
Hajime Hoshi
acca1c2480 graphics: Better function and variable names 2016-05-08 04:55:27 +09:00
Hajime Hoshi
7f09402bd9 graphics: Kinder panic messages 2016-05-08 04:43:43 +09:00
Hajime Hoshi
bbc2ad915a graphics: Remove image commands and use functions instead 2016-05-08 04:39:37 +09:00
Hajime Hoshi
b8a062e813 graphics: Add image.disposed 2016-05-08 03:44:15 +09:00
Hajime Hoshi
61ed13e322 graphics: Lazy image processing (especailly for mobile platforms) 2016-05-08 03:23:11 +09:00
Hajime Hoshi
99baaf18b0 ebiten: Refactoring 2016-05-08 00:52:30 +09:00
Hajime Hoshi
2fee1fae22 graphics: Dispose now returns errors 2016-05-07 23:34:10 +09:00
Hajime Hoshi
5c73357ef8 graphics: Fix wrong comment 2016-04-08 21:47:44 +09:00
Hajime Hoshi
9e58128ea8 graphics: Add 'concurrent-safe' comments 2016-04-08 04:09:43 +09:00
Hajime Hoshi
92e56d53f1 graphics: Reduce the size of vertices array 2016-04-08 04:08:45 +09:00
Hajime Hoshi
b2c5cb164a graphics: Calculate vertices ahead of locking 2016-04-08 03:18:52 +09:00
Hajime Hoshi
c3d8cf2366 graphics: Make Image functions concurrent safe (#201) 2016-04-07 03:49:11 +09:00
Hajime Hoshi
bcf406f058 image: NewImage/NewImageFromImage are now cocurrent-safe (#201) 2016-04-06 11:11:31 +09:00
Hajime Hoshi
f58a253631 graphics: Fix comments 2016-03-26 04:27:07 +09:00
Hajime Hoshi
b02df7b542 graphics: Bug fix #186 by clearing non-black-or-white color 2016-03-17 03:31:12 +09:00
Hajime Hoshi
c6fc5ab865 graphics: CompositionMode -> CompositeMode (#170) 2016-03-01 02:16:32 +09:00
Hajime Hoshi
8ae1e292ab graphics: Introduce CompositionMode (#151) 2016-02-29 01:37:06 +09:00
Hajime Hoshi
495d7ca0d1 graphics: NextPowerOf2Int -> NextPowerOf2Int32 2016-02-27 02:35:05 +09:00
Hajime Hoshi
0429c9c3e6 graphics: image's texture may be nil and this must be considered when disposing 2016-02-21 01:41:48 +09:00
Hajime Hoshi
63f2c3cb9f graphics: Refactoring: remove ExecOnUIThread 2016-02-20 04:39:43 +09:00
Hajime Hoshi
eb9379c3a6 image: Bug fix: isDisposed misimplementation 2016-02-07 03:20:52 +09:00
Hajime Hoshi
27f1a865aa image: Use SetFinalizer for images (#67) 2016-02-07 02:24:35 +09:00
Hajime Hoshi
e8c2e5f3d6 image: Add image.Dipose and image.IsDisposed 2016-02-07 01:27:55 +09:00
Hajime Hoshi
1e738f6a10 image: Remove image.DrawLines (#142) 2016-02-06 17:52:05 +09:00
Hajime Hoshi
07d64da098 image: Remove image.DrawLine (#142) 2016-02-06 17:49:26 +09:00
Hajime Hoshi
5c8df39496 image: Remove image.DrawFilledRects (#142) 2016-02-06 17:47:02 +09:00
Hajime Hoshi
b5ed0e3d6d image: Remove image.DrawRect (#142) 2016-02-06 17:46:05 +09:00
Hajime Hoshi
85279e8422 image: Remove image.DrawFilledRect (#142) 2016-02-06 17:45:08 +09:00
Hajime Hoshi
580effba8e image: Remove image.DrawRects (#142) 2016-02-06 17:20:10 +09:00
Hajime Hoshi
bb8a94ad09 Rename files 2016-02-05 23:20:41 +09:00
Hajime Hoshi
633ee4096e #132 Temporal hack to run with Go1.5 2015-07-22 23:28:15 +09:00
Hajime Hoshi
95316a1de5 image: Cache size 2015-02-18 04:01:11 +09:00
Hajime Hoshi
beecf31937 Resolve some TODOs 2015-02-10 10:44:58 +09:00
Hajime Hoshi
249add3979 Add SetScreenSize 2015-02-09 11:02:04 +09:00
Hajime Hoshi
23b3f1afce Move some files of internal/ui to the root 2015-01-27 01:10:17 +09:00
Hajime Hoshi
ae450433db Move some files of internal to internal/graphics 2015-01-27 00:08:24 +09:00
Hajime Hoshi
346bc53d53 Move internal/opengl -> internal/graphics/internal/opengl 2015-01-26 23:27:28 +09:00
Hajime Hoshi
b57c675996 Remove internal.RGBA 2015-01-24 14:53:40 +09:00
Hajime Hoshi
2ab7c2eb9b image: Add test 2015-01-22 11:27:50 +09:00
Hajime Hoshi
afe4c76b50 image: Bug fix: pixels must be reset after any drawing (TODO: add test) 2015-01-22 04:27:27 +09:00
Hajime Hoshi
f88f48f0ae Comment fix 2015-01-21 00:42:27 +09:00
Hajime Hoshi
d994f34d53 Add image.ReplacePixels; Add example/noise (#89) 2015-01-20 23:58:58 +09:00