Commit Graph

1641 Commits

Author SHA1 Message Date
Hajime Hoshi
b5f51dbccc graphics: imageImpl has pixels as a pointer 2016-07-24 03:39:25 +09:00
Hajime Hoshi
7649236712 graphics: Add pixels.makeInconsistent 2016-07-24 02:53:33 +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
1f4c78c41c graphcis: Fix a comment 2016-07-24 00:09:50 +09:00
Hajime Hoshi
c5e42c91be ui: Add glcontext.go 2016-07-24 00:05:36 +09:00
Hajime Hoshi
b146e5d1b4 graphics: Bug fix: Errors should be returned after checking the history 2016-07-24 00:02:45 +09:00
Hajime Hoshi
806eb44258 graphics: Return errors when GLContext is missing 2016-07-23 22:24:40 +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
0276be6c69 ui: Refactoring 2016-07-23 18:57:19 +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
77a1117165 audio/vorbis: Use pure Go decoder (#247) 2016-07-22 01:40:08 +09:00
Hajime Hoshi
0c78f2ac48 audio/vorbis: Implement a part in Go to encourage context switch (#247) 2016-07-21 03:08:29 +09:00
Hajime Hoshi
823834c013 graphics: Bug fix: dispose offscreen2 2016-07-20 02:09:09 +09:00
Hajime Hoshi
b2ed6ef027 graphics: Skip clearing if possible 2016-07-20 01:21:40 +09:00
Hajime Hoshi
aa96822ce5 examples/airship: Introduce repeatedGophersImage 2016-07-18 17:44:25 +09:00
Hajime Hoshi
dc159cb37c examples/airship: Remove println 2016-07-18 05:27:56 +09:00
Hajime Hoshi
008b15f61d examples/airship: Add fog 2016-07-18 05:19:22 +09:00
Hajime Hoshi
a3396bd415 examples/airship: Better scaling 2016-07-18 02:53:58 +09:00
Hajime Hoshi
39fd17cdac examples/airship: Adjust parameters 2016-07-17 15:20:57 +09:00
Hajime Hoshi
0933292d30 examples/airship: Better perspective 2016-07-17 07:10:52 +09:00
Hajime Hoshi
6541654746 examples/airship: Remove unexpected blue spots 2016-07-17 06:56:10 +09:00
Hajime Hoshi
847f72f9be Add examples/airship (#246) 2016-07-17 05:36:06 +09:00
Hajime Hoshi
c8ef54ac1d Trivial fixes 2016-07-17 04:41:28 +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
9366b35d65 graphics: Refactoring 2016-07-16 00:11:37 +09:00
Hajime Hoshi
ea285afb96 graphics: Refactoring 2016-07-14 03:29:19 +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
ebe7f10af1 graphics: Make NewVolatileImage unexported 2016-07-12 01:58:10 +09:00
Hajime Hoshi
87e0948449 examples/sinewave: Add a message 2016-07-10 23:51:16 +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
69497aff41 Remove examples/mobile, which is no longer maintained 2016-07-10 02:59:49 +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