Commit Graph

102 Commits

Author SHA1 Message Date
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
Hajime Hoshi
0bd0a4dbc2 Rename image.FillRect -> DrawFilledRect (FillRect is confusing with Fill) 2015-01-18 04:19:38 +09:00
Hajime Hoshi
26358f3e63 Revert lines' vetices (float64 -> int) 2015-01-17 23:33:57 +09:00
Hajime Hoshi
f0d40b4e1f Revert rectangles' vetices (float64 -> int) 2015-01-17 23:31:09 +09:00
Hajime Hoshi
1659e9abab Bug fix: Line's vertices should be moved by 0.5 2015-01-17 23:04:19 +09:00
Hajime Hoshi
683ffafe8d Bug fix: image.Pixels didn't work on WebGL 2015-01-17 19:06:58 +09:00
Hajime Hoshi
7835f5cb2e Add image.DrawRect / DrawRects (leaving some bugs) 2015-01-17 15:46:56 +09:00
Hajime Hoshi
5ff2b8697f Bug fix: comment 2015-01-17 15:01:04 +09:00
Hajime Hoshi
8c15b57d58 Add image.DrawLine / DrawLines 2015-01-17 14:17:42 +09:00
Hajime Hoshi
22e6996f74 Remove rectVertexQuads 2015-01-17 03:51:21 +09:00
Hajime Hoshi
887e2fc675 Add image.DrawRect; Change Rects.Points -> Rects.Rect 2015-01-17 03:46:00 +09:00
Hajime Hoshi
8564ba8541 Use (un)signed short vertices (#90) 2015-01-16 10:37:26 +09:00