Commit Graph

1934 Commits

Author SHA1 Message Date
Hajime Hoshi
b77a28b208 graphics: Use shift instead of div 2016-10-27 02:47:10 +09:00
Hajime Hoshi
bf76e94ad2 examples/sprites: Don't copy receivers 2016-10-27 02:43:43 +09:00
Hajime Hoshi
fbf6b6c525 graphics: Calc capacity of vertices 2016-10-27 01:42:18 +09:00
Hajime Hoshi
fb4ac5cd56 graphics: Bug fix: Add imports 2016-10-27 01:16:34 +09:00
Hajime Hoshi
d5ddd38ca9 graphics: Optimization for browsers (#285) 2016-10-26 23:35:29 +09:00
Hajime Hoshi
6cdcdd6d51 graphics: Optimize vertices function for browsers 2016-10-26 01:39:32 +09:00
Hajime Hoshi
5a1eb24138 graphics: Improve speed by using []int16 instead of []uint8 2016-10-26 00:20:41 +09:00
Hajime Hoshi
a65ededc3c graphics: Merge draw commands if possible 2016-10-25 11:53:00 +09:00
Hajime Hoshi
a70f61b1d5 graphics: Remove passing GeoM to the lower layers 2016-10-25 10:42:49 +09:00
Hajime Hoshi
96053702ed graphics: Bug fix: Remove modelview_matrix 2016-10-25 03:17:14 +09:00
Hajime Hoshi
a2cc291573 graphics: Rename variables 2016-10-25 03:04:06 +09:00
Hajime Hoshi
69e83fa759 graphics: Avoid using subslicing 2016-10-25 02:05:45 +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
fb18ad0bf7 doc: Update install command 2016-10-24 02:17:47 +09:00
Hajime Hoshi
8219c56dd8 graphics: Accurate calculation of vbo values 2016-10-23 03:37:32 +09:00
Hajime Hoshi
79e763da35 graphics: Refactoring imageparts.go 2016-10-23 03:23:54 +09:00
Hajime Hoshi
bc8a8fbae8 graphics: Refactoring: Replace QuadVertexNum with QuadVertexSizeInBytes func 2016-10-23 03:12:11 +09:00
Hajime Hoshi
2c844ec70c graphics: Refactoring: Simplify NextPowerOf2Int 2016-10-23 01:59:04 +09:00
Hajime Hoshi
e72ccee61b graphics: Expose graphics.QuadVertexNum 2016-10-23 01:52:55 +09:00
Hajime Hoshi
95f231d58a graphics: Optimization mainly for browsers 2016-10-22 23:35:43 +09:00
Hajime Hoshi
af4130c0d6 graphics: Bug fix: wrong argument in VertexAttribPointer 2016-10-22 20:47:33 +09:00
Hajime Hoshi
f21f6d357e graphics: Bug fix: Command splitting threshold is more strict on browsers? 2016-10-22 20:25:58 +09:00
Hajime Hoshi
27acc5efd9 opengl: Use uint8 intead of byte 2016-10-22 18:45:32 +09:00
Hajime Hoshi
1ceee5c4cb graphics: Refactoring: change (*imageParts).vertices 2016-10-22 18:38:44 +09:00
Hajime Hoshi
17ad889bba graphics: Add a comment 2016-10-22 16:57:09 +09:00
Hajime Hoshi
d981466aed graphics: Use opengl.DataType 2016-10-22 16:52:58 +09:00
Hajime Hoshi
9abeb29d2a opengl: Add DataType 2016-10-22 14:51:23 +09:00
Hajime Hoshi
e5e9b178ae opengl: Fix argument order of VertexAttribPointer 2016-10-22 14:00:45 +09:00
Hajime Hoshi
80e3a3497c opengl: BufferSubData should be able to take generic type 2016-10-22 03:21:53 +09:00
Hajime Hoshi
54e5263250 Use long version of the license (#278) 2016-10-21 00:40:01 +09:00
Hajime Hoshi
37c0461573 internal: Fix LicenseComment not to use LICENSE file 2016-10-21 00:30:51 +09:00
Hajime Hoshi
d66586c890 examples/keyboard: Fix gen.go to use LicenseComment 2016-10-21 00:19:10 +09:00
Hajime Hoshi
3264532004 doc: Add and use LicenseYear 2016-10-21 00:12:31 +09:00
Hajime Hoshi
e2fd9b9e7e go generate 2016-10-21 00:02:50 +09:00
Hajime Hoshi
3efabe988a graphics: Reduce magic numbers 2016-10-17 11:16:17 +09:00
Hajime Hoshi
cbcbdb0b97 graphics: Refactoring: Introduce arrayBufferLayoutPart 2016-10-17 10:36:33 +09:00
Hajime Hoshi
8ee859df31 graphics: Refactoring: Introduce arrayBufferLayout 2016-10-17 10:03:25 +09:00
Hajime Hoshi
c1b4624890 graphics: Remove unused const 2016-10-17 01:07:16 +09:00
Hajime Hoshi
7b48ea201c examples/keyboard: Avoid build tags in templates 2016-10-16 03:40:03 +09:00
Hajime Hoshi
e24415d90b docs: Update about -tags=example 2016-10-16 01:14:22 +09:00
Hajime Hoshi
6f3041d969 doc: Update example commands 2016-10-16 01:06:31 +09:00
Hajime Hoshi
908d8aa9f2 examples/keyboard: Add example tags 2016-10-16 01:02:01 +09:00
Hajime Hoshi
237e84d0ea Bug fix: Add example tags 2016-10-16 00:13:31 +09:00
Hajime Hoshi
23b2d086ee example: Add example tags 2016-10-16 00:09:03 +09:00
Hajime Hoshi
61676616a7 audio: At most one audio context can exist (#271) 2016-10-02 22:18:44 +09:00
Hajime Hoshi
2eac8dca8c audio/wav: Bug fix: return an error when offset is before the start of the data 2016-09-27 02:13:56 +09:00
Hajime Hoshi
a14b4c8046 audio: Revert "audio/vorbis: Use pure Go decoder (#247)": fixing a bug of noisy sound 2016-09-27 01:01:04 +09:00
Hajime Hoshi
c634c588e5 audio: Bug fix: there could be chunks after 'data' chunk 2016-09-27 00:37:40 +09:00
Hajime Hoshi
d162843fbb audio: Add comment 2016-09-26 23:08:34 +09:00