Commit Graph

33 Commits

Author SHA1 Message Date
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
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
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
f21f6d357e graphics: Bug fix: Command splitting threshold is more strict on browsers? 2016-10-22 20:25:58 +09:00
Hajime Hoshi
1ceee5c4cb graphics: Refactoring: change (*imageParts).vertices 2016-10-22 18:38:44 +09:00
Hajime Hoshi
8d17d1876c graphics: Revert transitionImageParts since this didn't affect the speed 2016-06-06 00:23:18 +09:00
Hajime Hoshi
33b50ed294 graphics: Reduce calls of glUniformMatrix4fv 2016-06-05 23:32:25 +09:00
Hajime Hoshi
4812f2e76e graphics: Reduce calls of glUniformMatrix4fv 2016-06-05 00:35:58 +09:00
Hajime Hoshi
55d06f3bdb doc: Fix comments 2016-05-14 20:43:36 +09:00
Hajime Hoshi
5a379cb7cb Reduce panics (#196) 2016-04-11 01:48:40 +09:00
Hajime Hoshi
07da7a2348 graphics: Refactoring 2016-04-08 04:39:13 +09:00
Hajime Hoshi
e9ffe13739 graphics: Avoid copying receivers for JS 2016-04-08 04:20:45 +09:00
Hajime Hoshi
b2c5cb164a graphics: Calculate vertices ahead of locking 2016-04-08 03:18:52 +09:00
Hajime Hoshi
ff2882799c graphics: Add uv (optimization) 2016-03-18 02:41:00 +09:00
Hajime Hoshi
15d0ec3775 graphics: Reduce int16 converting 2016-03-18 01:52:46 +09:00
Hajime Hoshi
495d7ca0d1 graphics: NextPowerOf2Int -> NextPowerOf2Int32 2016-02-27 02:35:05 +09:00
Hajime Hoshi
169d57936c graphics: Speed improvement by returning single value 2016-02-17 00:21:39 +09:00
Hajime Hoshi
ef4828669c graphics: Bug fix: must skip rendering when 0 vertices are set 2016-02-16 02:45:56 +09:00
Hajime Hoshi
1e9fb05161 graphics: Move makeing vertices from drawTexture to textureQuads to avoid copying 2016-02-16 02:26:40 +09:00
Hajime Hoshi
beecf31937 Resolve some TODOs 2015-02-10 10:44:58 +09:00
Hajime Hoshi
ae450433db Move some files of internal to internal/graphics 2015-01-27 00:08:24 +09:00
Hajime Hoshi
8564ba8541 Use (un)signed short vertices (#90) 2015-01-16 10:37:26 +09:00
Hajime Hoshi
25cf2dab22 sprites: Speed up: use float64 as often as possible 2015-01-14 23:58:34 +09:00
Hajime Hoshi
21455a146d Refactoring: Add imageparts.go 2015-01-12 18:41:06 +09:00