Commit Graph

510 Commits

Author SHA1 Message Date
Hajime Hoshi
612d3b07b0 ui: Bug fix: ui.funcs might be closed before sending a value 2016-08-17 01:57:20 +09:00
Hajime Hoshi
3619a796dc ui: Check the return value of ReleaseDC() 2016-08-09 00:25:47 +09:00
Hajime Hoshi
96a43bcb4d ui: Bug fix: must call ReleaseGC (#251) 2016-08-09 00:09:22 +09:00
Hajime Hoshi
c8edcde2d5 graphics: Image minimum size changed to 1 2016-08-07 17:27:17 +09:00
Hajime Hoshi
f556b19f22 Add error checks 2016-08-03 23:44:54 +09:00
Hajime Hoshi
0aca79ed0b graphics: Add error checks 2016-08-03 11:05:10 +09:00
Hajime Hoshi
8e58f3ce0a ui: Bug fix: closed channel never blocks 2016-08-03 01:07:46 +09:00
Hajime Hoshi
30b521f3b8 Add error checks 2016-08-03 01:02:05 +09:00
Hajime Hoshi
6968e898c3 Bug fix: ui.Main should be suspended when error occurs in the loop 2016-08-02 02:48:19 +09:00
Hajime Hoshi
c7106f595c Add error checks 2016-08-02 02:26:44 +09:00
Hajime Hoshi
9b6b5372ef pixels: Remove image member 2016-07-27 12:24:30 +09:00
Hajime Hoshi
3bc2239a3b pixels: Bug fix: Update image member when creating a new image 2016-07-27 12:13:54 +09:00
Hajime Hoshi
3724815f21 pixels: Rename functions 2016-07-27 02:50:53 +09:00
Hajime Hoshi
459046f52a pixels: Ensure pixels is not stale when restoring 2016-07-27 02:25:08 +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
c18756352d pixels: Refactoring 2016-07-27 01:54:23 +09:00
Hajime Hoshi
5c56058d6e pixels Rename s/history/dependency/ 2016-07-27 01:28:16 +09:00
Hajime Hoshi
c5f3eaf925 graphics: Refactoring 2016-07-26 12:28:05 +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
1ec503e1b5 pixels: Add comments 2016-07-25 10:38:41 +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
e118a755f5 ui: Bug fix: Sizing also calls GLContext 2016-07-24 05:29:47 +09:00
Hajime Hoshi
efe64d56f4 ui: Bug fix: Avoid dead lock 2016-07-24 04:32:12 +09:00
Hajime Hoshi
c5e42c91be ui: Add glcontext.go 2016-07-24 00:05:36 +09:00
Hajime Hoshi
121063ee2b ui: Initialize GLContext at Start 2016-07-23 22:17:36 +09:00
Hajime Hoshi
5a3ea34cfc ui: Delay initializing the context 2016-07-23 21:43:35 +09:00
Hajime Hoshi
3553fc55c3 ui: Unify the context thread and the UI thread 2016-07-23 21:22:59 +09:00
Hajime Hoshi
8371426888 ui: Refactoring 2016-07-23 21:01:30 +09:00
Hajime Hoshi
1953539e22 ui: Refactoring: Simplify initializing 2016-07-23 20:25:52 +09:00
Hajime Hoshi
e3ef0540a3 opengl: Bug fix: Remove infinite for loop and improve FPS on iOS 2016-07-23 02:09:48 +09:00
Hajime Hoshi
d7c2682c53 examples/sprites: Slower increasing num of sprites 2016-07-16 19:34:36 +09:00
Hajime Hoshi
66f262c80e graphics: Enable to draw unlimited number of sprites (#245) 2016-07-16 19:17:57 +09:00
Hajime Hoshi
d00eb131f4 graphics: Remove commandQueue's member indexOffsetInBytes 2016-07-16 04:21:44 +09:00
Hajime Hoshi
7a96f31b1f graphics: Hide MaxQuads 2016-07-16 02:07:16 +09:00
Hajime Hoshi
bc43614c25 graphics: Remove draw.go 2016-07-16 00:17:21 +09:00
Hajime Hoshi
1627176d59 graphics: Restoring by recording drawing-images history 2016-07-13 12:38:59 +09:00
Hajime Hoshi
4bded02ad6 graphics: Add a comment 2016-07-10 14:49:41 +09:00
Hajime Hoshi
0c611d875b graphics: Bug fix: glTexSubImage2D on Android now works (#211) 2016-07-10 05:59:21 +09:00
Hajime Hoshi
1b152ae771 opengl: Bug fix: Reset lastTexture when deleting 2016-07-10 05:04:25 +09:00
Hajime Hoshi
d8e7ec5274 opengl: Initialize lastTexture 2016-07-09 23:14:24 +09:00
Hajime Hoshi
275fc66f06 graphics: Bug fix: textuer should be stored at OpenGL layer 2016-07-09 19:36:34 +09:00
Hajime Hoshi
193c03ea58 ui: Bug fix: Don't use integer scale (JavaScript) 2016-07-09 18:27:29 +09:00
Hajime Hoshi
76f694b948 loop: Bug fix: IsRunning might crash when the game hasn't started yet 2016-07-09 01:44:53 +09:00