Commit Graph

1945 Commits

Author SHA1 Message Date
Hajime Hoshi
d93d433514 examples: Add warning for GopherJS building bug 2016-10-31 12:22:18 +09:00
Hajime Hoshi
2ccec18e3a graphics: Change ColorM structure for speed optimization 2016-10-31 11:56:54 +09:00
Hajime Hoshi
9998534a51 graphics: Add tests for ColorM 2016-10-31 11:16:39 +09:00
Hajime Hoshi
7bf41ba8d9 graphics: Fix ColorM/GeoM test to clarify inner-initializing 2016-10-30 20:31:56 +09:00
Hajime Hoshi
7dfbb7a4c0 input: Add comments (#287) 2016-10-29 18:17:25 +09:00
Hajime Hoshi
49fb2635ec graphics: Remove glMatrix 2016-10-29 05:02:22 +09:00
Hajime Hoshi
6de9e6696e graphics: Cache total bytes 2016-10-29 01:07:19 +09:00
Hajime Hoshi
2b2d6157c7 graphics: Skip resetPixelsIfDependingOn if possible 2016-10-28 02:54:09 +09:00
Hajime Hoshi
26e290b2bc examples/spritse: Speed optimization 2016-10-28 00:39:55 +09:00
Hajime Hoshi
2c4dc3681a graphics: Remove u/v functions 2016-10-27 12:59:25 +09:00
Hajime Hoshi
8c793ce53b graphics: Use addition instead of multiplying in vertices 2016-10-27 03:33:19 +09:00
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