Commit Graph

84 Commits

Author SHA1 Message Date
Hajime Hoshi
6b70adf23b graphics: Clarify when ebiten.Run returns error (#331) 2017-03-04 02:27:46 +09:00
Hajime Hoshi
a3e14c9ddb graphics: Image.ReplacePixels/Dispose always returns nil (#331) 2017-03-04 02:23:39 +09:00
Hajime Hoshi
b567a07d5f graphics: DrawImage always returns nil (#331) 2017-03-04 01:33:43 +09:00
Hajime Hoshi
6ca71c6931 graphics: Errors of NewImage* are always nil (#331) 2017-03-04 01:22:51 +09:00
Hajime Hoshi
7ba18a5d0d graphics: Image.Clear/Fill now always return nil (#331) 2017-03-04 00:53:49 +09:00
Hajime Hoshi
1c7ce07edf Simplify internal API not to return errors 2017-03-04 00:44:41 +09:00
Hajime Hoshi
147798e14d Simplify internal API not to return errors 2017-03-03 23:59:44 +09:00
Hajime Hoshi
91681bdc25 graphics: Bug fix: ReplacePixels must reset pixels out of range (#316) 2017-02-05 04:16:09 +09:00
Hajime Hoshi
d7f1165aa3 graphics: Avoid calling ReplacePixels unnecessarily 2017-02-05 02:19:30 +09:00
Hajime Hoshi
a1885458fb graphics: imageImpl.restorable might be nil when restoring 2017-01-21 05:10:10 +09:00
Hajime Hoshi
eec59d5cf8 graphics: Improve speed when getting elements from geo matrices 2017-01-19 12:12:20 +09:00
Hajime Hoshi
5c403d9969 graphics: Avoid copying images twice 2016-12-27 10:43:05 +09:00
Hajime Hoshi
6b4801ac7a graphics: Make copying images faster 2016-12-27 00:50:14 +09:00
Hajime Hoshi
e47c3bbbfb graphics: Limit image size strictly 2016-11-05 03:06:18 +09:00
Hajime Hoshi
07294a98b6 Move internal/graphics/opengl -> internal/opengl 2016-11-03 23:31:25 +09:00
Hajime Hoshi
d02c67a996 graphics: Use affine.ColorM instead of graphics.Matrix 2016-11-01 00:20:27 +09:00
Hajime Hoshi
a70f61b1d5 graphics: Remove passing GeoM to the lower layers 2016-10-25 10:42:49 +09:00
Hajime Hoshi
ebf7f0df00 graphics: Add geometry matrix info to vertices 2016-10-25 01:56:59 +09:00
Hajime Hoshi
8d550a4007 graphics: Make vertices a function 2016-10-24 22:52:53 +09:00
Hajime Hoshi
1ceee5c4cb graphics: Refactoring: change (*imageParts).vertices 2016-10-22 18:38:44 +09:00
Hajime Hoshi
3ad6dc4679 graraphics: Refactoring: Remove imageImpl.disposed 2016-09-04 02:42:06 +09:00
Hajime Hoshi
959abec06d restoring: Refactoring: Add Image.screen and unify restoring functions 2016-09-04 02:31:50 +09:00
Hajime Hoshi
d386f57ac6 restoring: Refactoring: Add Image.volatile 2016-09-04 02:06:54 +09:00
Hajime Hoshi
43e8349567 graphics: Remove imageImpl.width/height 2016-09-04 01:25:02 +09:00
Hajime Hoshi
99b7e85d3d graphics: Remove imageImpl.filter 2016-09-04 01:08:33 +09:00
Hajime Hoshi
b8b7e97511 restorable: Remove arguments from restoring functions 2016-09-04 00:57:23 +09:00
Hajime Hoshi
02151e48ea restorable: Remove Image() 2016-09-04 00:53:30 +09:00
Hajime Hoshi
82febc9c6e restorable: Reduce Image() usage and remove MakeStale() 2016-09-03 23:54:52 +09:00
Hajime Hoshi
e7558036ae restorable: Remove IsStale 2016-09-03 23:42:44 +09:00
Hajime Hoshi
cae75fac69 graphics: Bug fix: Invalid Clear calling in Dispose 2016-09-03 23:42:28 +09:00
Hajime Hoshi
fb3724a40e graphics: Remove imageImpl.image member 2016-09-03 23:08:51 +09:00
Hajime Hoshi
438afdac5b restorable: Add NewImage 2016-09-03 22:24:37 +09:00
Hajime Hoshi
9c079917f1 Rename pixels -> restorable 2016-09-03 22:19:59 +09:00
Hajime Hoshi
53e1f90146 graphics: Bug fix: Don't store interface color.Color value inside (#261) 2016-08-30 23:34:18 +09:00
Hajime Hoshi
749a751369 graphics: Bug fix: Make an image stale when another stale image is drawn to this (#257) 2016-08-23 00:05:11 +09:00
Hajime Hoshi
58f59f3832 Remove unneeded comment 2016-08-21 02:21:25 +09:00
Hajime Hoshi
e5c7de4939 graphics: Bug fix: Always need to copy the source image 2016-08-21 02:19:03 +09:00
Hajime Hoshi
c54dc8ee1c graphics: Less calls of ReadPixelsFromVRAM 2016-08-20 23:25:45 +09:00
Hajime Hoshi
4ad5c65efe graphics: Rename s/ensure/resolveStale/ 2016-07-27 23:08:28 +09:00
Hajime Hoshi
9b6b5372ef pixels: Remove image member 2016-07-27 12:24:30 +09:00
Hajime Hoshi
b901d2acb1 graphics: Avoid ReadPixels when the image is volatile 2016-07-27 03:09:56 +09:00
Hajime Hoshi
3724815f21 pixels: Rename functions 2016-07-27 02:50:53 +09:00
Hajime Hoshi
e0894879f1 pixels: Remove IsStale 2016-07-27 02:20:42 +09:00
Hajime Hoshi
56732d9a23 pixels: Add 'stale' member 2016-07-27 02:17:27 +09:00
Hajime Hoshi
5c56058d6e pixels Rename s/history/dependency/ 2016-07-27 01:28:16 +09:00
Hajime Hoshi
eff0ec8e11 graphics: Remove unneeded calls ReplacePixels 2016-07-26 12:47:45 +09:00
Hajime Hoshi
c5f3eaf925 graphics: Refactoring 2016-07-26 12:28:05 +09:00
Hajime Hoshi
2e0b7da614 grahics: Add comments 2016-07-26 12:24:07 +09:00
Hajime Hoshi
40427b6263 pixels: Bug fix: Reset pixels correctly 2016-07-26 11:40:41 +09:00
Hajime Hoshi
0fc61ed568 pixels: Rename fuctions 2016-07-26 10:51:48 +09:00