Commit Graph

64 Commits

Author SHA1 Message Date
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
Hajime Hoshi
558f559323 graphics: Remove pixels when inconsistent 2016-07-26 10:35:24 +09:00
Hajime Hoshi
939284820c pixels: Bug fix: Remove IsCleared: pixels state might not match with actual state 2016-07-25 10:22:37 +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
931e60902f graphics: Refactoring 2016-07-25 08:48:58 +09:00
Hajime Hoshi
f6be72fba2 Add internal/pixels 2016-07-25 02:28:59 +09:00
Hajime Hoshi
62acfb5b0a graphics: Don't use GeoM/ColorM in pixels. Use graphics.Matrix instead 2016-07-24 06:46:47 +09:00
Hajime Hoshi
3ea6033c3d graphics: Don't ref *Image in pixels. Ref *graphics.Image instead 2016-07-24 06:22:33 +09:00
Hajime Hoshi
b5f51dbccc graphics: imageImpl has pixels as a pointer 2016-07-24 03:39:25 +09:00
Hajime Hoshi
b3aa567f38 graphics: Add imageForPixels 2016-07-24 01:50:22 +09:00
Hajime Hoshi
8d074ecc20 graphics: Add Pixel's 'inconsistent' state 2016-07-24 01:28:39 +09:00
Hajime Hoshi
75916490b7 graphics: Better name functions 2016-07-24 00:46:24 +09:00
Hajime Hoshi
806eb44258 graphics: Return errors when GLContext is missing 2016-07-23 22:24:40 +09:00
Hajime Hoshi
b2ed6ef027 graphics: Skip clearing if possible 2016-07-20 01:21:40 +09:00
Hajime Hoshi
dee602e792 Remove pixels.imageImpl 2016-07-14 03:00:50 +09:00
Hajime Hoshi
4e913531e0 graphics: Rename imageRestoringInfo -> pixels 2016-07-14 02:52:24 +09:00
Hajime Hoshi
3b8d5026c3 graphics: Add imageRestoringInfo 2016-07-14 02:35:20 +09:00
Hajime Hoshi
2ba835373b graphics: Refactoring: passing a GL context from the top level 2016-07-14 01:20:45 +09:00
Hajime Hoshi
b733f03489 graphics: Refactoring 2016-07-13 12:40:21 +09:00
Hajime Hoshi
1627176d59 graphics: Restoring by recording drawing-images history 2016-07-13 12:38:59 +09:00