Commit Graph

19 Commits

Author SHA1 Message Date
pandamicro 2d0435db12 Fix issue caused by render data effect absent 2018-01-12 17:38:38 +08:00
pandamicro 2331c1f741 Fix byteOffset calculation based on the current vfmt
It should be incremented during batching process and store into batchData
2018-01-12 12:38:22 +08:00
pandamicro e64365bf33 walker updateRenderData with _batchData
Update render engine
2018-01-05 16:54:16 +08:00
pandamicro 13a4dc7e50 Walker supports multiple render data per component 2017-12-29 01:26:30 +08:00
pandamicro 226039e41b Fix node not restored to dummyNode in walker 2017-12-25 17:23:53 +08:00
pandamicro 706f637b34 Add useModel to assemblers, use comp.node as model 2017-12-25 14:34:35 +08:00
pandamicro 49bf5d6eaf Support Mask in new renderer 2017-12-14 17:23:23 +08:00
pandamicro 50446fa3a6 Add render component post handle support 2017-12-10 22:28:43 +08:00
pandamicro f73721c246 Oops, previous PR doesn't improve performance after all 2017-12-08 16:34:26 +08:00
pandamicro 521ba0c84a Fill data in batchQueue, much faster in v8 2017-12-08 16:00:10 +08:00
pandamicro c365467fb0 Fix issues after rebase 2017-12-07 12:41:14 +08:00
pandamicro 615a8f0645 Refactor render component process, fix jit deopt 2017-12-07 12:03:58 +08:00
pandamicro ab619b4c00 Use walk to collect render component in array 2017-12-07 11:52:20 +08:00
pandamicro 33b6025b42 Move batch fill logic into _handleRender 2017-12-07 11:52:20 +08:00
pandamicro 0acf5b26b7 Ping pong buffers in render component walker 2017-11-30 18:43:08 +08:00
pandamicro faa6a3baa9 Use unified buffer instead of shared array buffer 2017-11-29 18:25:13 +08:00
pandamicro 8051f63b2c Fix wrong vertex/index count after breaking batch 2017-11-29 16:03:11 +08:00
pandamicro 27d797f108 Fix running in editor issue 2017-11-29 15:37:43 +08:00
pandamicro a6a294f538 Major refactor to use render component walker for batching models 2017-11-29 13:55:36 +08:00