Commit Graph

1906 Commits

Author SHA1 Message Date
Hajime Hoshi
6f97374326 graphics: Simplify vertices 2016-11-03 19:10:45 +09:00
Hajime Hoshi
b2780fb585 graphics: Merge commands when appending 2016-11-03 17:40:52 +09:00
Hajime Hoshi
50b2d8ee94 graphics: Use float values for vertices 2016-11-02 02:34:01 +09:00
Hajime Hoshi
b2be6681d4 graphics: Bug fix: invalid calc of num of quads 2016-11-02 02:08:12 +09:00
Hajime Hoshi
34e85b0041 examples/_server: Don't return map files to make it easier to debug JS 2016-11-02 00:15:12 +09:00
Hajime Hoshi
5afe3225f3 graphics: Rename file vertices.go -> vertices_nojs.go 2016-11-02 00:04:46 +09:00
Hajime Hoshi
b188a0dd99 affine: Stop using multiple-dimension array for consistency 2016-11-01 23:32:27 +09:00
Hajime Hoshi
edf336499c affine: Revert ColorM implementation to use float64 array 2016-11-01 23:32:24 +09:00
Hajime Hoshi
4915531450 affine: Add ColorM.Equals 2016-11-01 00:28:07 +09:00
Hajime Hoshi
d02c67a996 graphics: Use affine.ColorM instead of graphics.Matrix 2016-11-01 00:20:27 +09:00
Hajime Hoshi
84baee8ca7 Add internals/affine 2016-11-01 00:13:19 +09:00
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