Commit Graph

78 Commits

Author SHA1 Message Date
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
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
11e67d0eed graphics: Refactoring 2016-07-05 03:15:32 +09:00
Hajime Hoshi
793aad2681 graphics: Rename restorePixels -> restore 2016-07-05 03:01:32 +09:00
Hajime Hoshi
7e296b1aae graphics: Bug Fix: The screen image should be recreated 2016-07-05 02:57:41 +09:00
Hajime Hoshi
760e1aa288 graphics: Add newImageImplFromImage; Rename theImages -> theImagesForRestoring 2016-07-05 01:34:40 +09:00
Hajime Hoshi
eac816ca47 graphics: Remove imageImpl.screen 2016-07-05 01:23:29 +09:00
Hajime Hoshi
085336d50f graphics: Add newImageImpl 2016-07-05 00:24:06 +09:00
Hajime Hoshi
cf093513be graphics: Bug fix: need more locks for imageImpl 2016-07-04 01:50:58 +09:00
Hajime Hoshi
2c1bcaf87a graphics: Remove imageM (global lock) 2016-07-03 23:31:03 +09:00
Hajime Hoshi
d70bf66a59 graphics: Reduce imageM usages 2016-07-03 23:23:57 +09:00
Hajime Hoshi
86144a1cd6 opengl: Move members to variables 2016-07-03 18:23:19 +09:00
Hajime Hoshi
89fe69d564 graphics: Separate image.go into image.go and imageimpl.go 2016-07-03 14:42:28 +09:00