yinkaile
e4325577ad
Next vertex format ( #2645 )
...
* restructure vertex format
* update render-engine.js
* refine vertex format
* refine sprite vertex property name
2018-05-08 21:51:27 +08:00
pandamicro
50c91c641c
Use RenderFlow to optimize renderer visit process ( #2634 )
...
* Optimize (#2601 )
* support render flow
* small improve
* small improve
* support different vertext format for buffer
* optimize dynamic atlas
* fixed sprite assemblers
* store uvs in spriteframe
* fixed issues
* fixed mask
* remove unused code
* small improve
* small fix
* upgrade assemblers
* refine code
* set id for vertex format name
* Fix mesh buffer initialize issue on native
* Fix spine node setting issue
* fixed dragonbone assembler (#2635 )
2018-05-07 15:47:48 +08:00
pandamicro
396154d41b
Fix issues ( #2608 )
...
* Add missed vec3 APIs
* Fix Node property setter issue
* Fix scene dirty sync issue
* Fix setWorldRot not setting dirty issue
2018-04-27 18:00:48 +08:00
pandamicro
7b98f49cd6
Fix updateWorldVerts based on worldMatUpdated and other issues ( #2593 )
...
* Fix updateWorldVerts based on worldMatUpdated
* Fix issues
2018-04-24 22:23:18 +08:00
pandamicro
ef5b172506
Fix scene mat dirty not updated issue and improve logic
2018-04-24 11:21:42 +08:00
pandamicro
7997b2c6a8
Remove _syncWorldDirty for recursive approach ( #2582 )
...
* Fix render data issue for bar filled sprite
* Remove _syncWorldDirty for recursive approach
2018-04-23 18:26:06 +08:00
pandamicro
d8ca6001d8
Recursively visit node instead of walk through comp chain
2018-04-19 16:58:44 +08:00
yinkaile
d07dbc103f
optimize dynamic atlas
2018-04-17 18:48:30 +08:00
yinkaile
fec94231c2
refine dynamic atlas
2018-04-16 14:43:23 +08:00
yinkaile
d6d6f35c42
Merge branch 'optimize' of github.com:fireball-x/engine into optimize
...
# Conflicts:
# cocos2d/core/renderer/assemblers/sprite/index.js
2018-04-16 14:28:00 +08:00
pandamicro
a6692d6ed1
Remove assembler check
2018-04-15 19:11:05 +08:00
pandamicro
1230fe6d4d
Support component direct assemblers
2018-04-15 19:07:56 +08:00
yinkaile
4ea054b46c
support dynamic atlas packer
2018-04-15 18:08:55 +08:00
pandamicro
aceac05710
Minor code arrangement
2018-04-14 23:37:01 +08:00
pandamicro
ac55b9d5ed
Merge pull request #2537 from pandamicro/optimize
...
Fix render component chain not updated for one child
2018-04-13 22:56:56 +08:00
pandamicro
607d7b2228
Improve render component disable performance
2018-04-13 22:53:33 +08:00
yinkaile
38ab4811fb
optimize bufferData
2018-04-13 17:52:21 +08:00
pandamicro
6e8637d623
Improve transform for 2d and while loop
2018-04-12 21:07:08 +08:00
pandamicro
ecd8015ec2
Fix _updateWorldMatrix issue
2018-04-12 19:26:05 +08:00
pandamicro
a0091761da
Sync world mat dirty to ensure mat dirty flag reliable
2018-04-12 11:37:52 +08:00
pandamicro
c5b586c5d7
Fix old parent chain issue
2018-04-11 20:10:24 +08:00
pandamicro
3dcaf19376
Visit render component with chain instead of walking scene graph
2018-04-11 14:16:36 +08:00
pandamicro
5823a23065
Add transform system to reduce matrix update overhead
...
Removed world-matrix-changed event, event system is too slow
2018-04-11 14:06:27 +08:00
yinkaile
0d5b02ac2a
refactor sprite assembler to optimize performance
2018-03-23 15:42:16 +08:00
pandamicro
9324deb7f7
Simplify stencil manager
2018-03-21 17:07:50 +08:00
pandamicro
9f4a67a6f1
Improve material hash id update and compare
2018-03-21 16:39:36 +08:00
fusijie
10f56b59bd
add_effect_hash
2018-03-21 16:39:36 +08:00
pandamicro
a0c833263d
Compare material instead of effect in walker
2018-03-16 09:58:16 +08:00
pandamicro
b531040ac4
Update licenses
2018-03-13 15:52:14 +08:00
yinkaile
efb8e24f23
revert code
2018-03-09 18:19:38 +08:00
yinkaile
af5930f343
Merge branch 'next' of github.com:fireball-x/engine into next
...
# Conflicts:
# cocos2d/core/renderer/render-component-walker.js
2018-03-09 16:14:54 +08:00
yinkaile
22a1e2994a
1. support camera sort
...
2. support camera culling mask with node group
3. add MAIN_CAMERA to Canvas
2018-03-09 16:12:00 +08:00
pandamicro
3358b71f79
Improve batchData content setting
2018-03-07 10:41:11 +08:00
pandamicro
7618f9eec5
Walker support custom IARenderData
2018-03-06 09:35:41 +08:00
pandamicro
8e29b6b450
Use pow2 buffer size to avoid frequent size change
2018-03-02 18:43:35 +08:00
pandamicro
f7baf9a73a
Use single buffer instead of multiple buffer
2018-03-02 16:46:18 +08:00
yinkaile
a676485c68
fixed cameras
2018-02-09 11:37:43 +08:00
yinkaile
cf3f20bfc2
upgrade CCCamera
2018-02-08 18:07:43 +08:00
yinkaile
f1e2481a4b
Merge branch 'next' of github.com:fireball-x/engine into next
...
# Conflicts:
# cocos2d/core/renderer/index.js
2018-02-08 10:47:29 +08:00
pandamicro
8c9f214346
Update vb & ib in walker
2018-02-08 00:28:44 +08:00
yinkaile
d93cf3acac
support camera
2018-02-07 10:59:23 +08:00
pandamicro
dfb6b73e85
Fix stencil manager modify user effect issue
2018-01-31 18:45:44 +08:00
yinkaile
8c18b5efa6
small fix some problems
2018-01-16 17:55:13 +08:00
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