Commit Graph

6283 Commits

Author SHA1 Message Date
Cocos Ass eef5f1cd4c fixed Layout can't caculate the width size correctly 2018-04-22 15:20:44 +08:00
minggo a07f1840c9 optimize memory usage (#2577) 2018-04-20 19:35:09 +08:00
James Chen 42da2ed086 Fixes pixelStorei is aync method when it's invoked in texImage2D. (#2578) 2018-04-20 19:34:21 +08:00
minggo 92241e4ca9 fix bugs for new renderer (#2574)
* gulp task: add clean cache & support native renderer

* fix binding codes of Texture2D.updateSubImage

* fix some issues

* fix Texture2D.updateSubImage()
2018-04-20 14:43:58 +08:00
pandamicro 02110c664a Merge pull request #2573 from pandamicro/next
Fix dumb issues
2018-04-20 13:51:24 +08:00
pandamicro 99712484b1 Fix dumb issues 2018-04-20 13:50:42 +08:00
pandamicro d88863019f Merge pull request #2572 from pandamicro/next
Fix global canvas undefined issue in JSB
2018-04-20 11:58:37 +08:00
pandamicro b1c84ac0d4 Fix global canvas undefined issue in JSB 2018-04-20 11:57:46 +08:00
pandamicro fc298b5d2a Merge pull request #2571 from dumganhar/optimize
window.__gl -> window.__ccgl, window.canvas -> window.__cccanvas. Touch logic is moved to EventTarget
2018-04-20 11:13:43 +08:00
pandamicro 6985e0686a Merge pull request #2570 from pandamicro/next
Fix jsb node API access issue
2018-04-20 10:44:42 +08:00
pandamicro 529615f3e6 Fix jsb node API access issue 2018-04-20 10:43:28 +08:00
James Chen e70c627f48 ForwardRenderer uses window.innerWidth and window.innerHeight. 2018-04-20 10:26:47 +08:00
James Chen 674ee3a0ae window.gl should not be public variable, rename it to window.__ccgl. 2018-04-20 10:26:15 +08:00
James Chen c8dd586c19 minor fix in EventTarget.js. 2018-04-20 10:16:59 +08:00
James Chen f3a44e90dc window.__gl -> window.__ccgl, window.canvas -> window.__cccanvas. Touch logic is moved to EventTarget. 2018-04-20 10:15:13 +08:00
pandamicro 9ac92ce2a4 Merge pull request #2568 from pandamicro/next
Fixes for 3d mahjong and barbarians project
2018-04-20 00:48:17 +08:00
pandamicro 0889e7e8df Use system font if no font found and not using system font 2018-04-20 00:45:37 +08:00
pandamicro ef97c6fa2b Support 3d transform with polyfill3d 2018-04-20 00:45:15 +08:00
pandamicro 47ffa3d779 gulp task: support build jsb with native renderer 2018-04-20 00:17:16 +08:00
pandamicro 0f87a11100 Merge pull request #2564 from cocos-creator/optimize
Merge optimizations into next
2018-04-19 18:31:30 +08:00
pandamicro 48fba5d390 Merge pull request #2563 from pandamicro/optimize
Recursively visit node instead of walk through comp chain
2018-04-19 17:15:02 +08:00
pandamicro d8ca6001d8 Recursively visit node instead of walk through comp chain 2018-04-19 16:58:44 +08:00
pandamicro 427fc3c7c6 Merge pull request #2562 from dumganhar/optimize
Updates jsb scripts.
2018-04-19 14:18:28 +08:00
James Chen ec80e1143e Updates jsb scripts. 2018-04-19 14:11:49 +08:00
pandamicro 917d4a9bc7 Merge pull request #2556 from pandamicro/optimize
Support build native with native renderer option
2018-04-19 11:44:18 +08:00
pandamicro 621484c604 Merge pull request #2559 from minggo/optimize
Optimize performance
2018-04-19 11:33:57 +08:00
minggo ba925488dd Merge pull request #1 from pandamicro/jsb
Improve jsb renderer implementation
2018-04-19 11:30:58 +08:00
pandamicro e08fcfa5a7 Improve jsb renderer implementation 2018-04-19 11:17:01 +08:00
pandamicro d2ad2ffcde Fix opt_macroFlags is null issue in gulp task 2018-04-19 10:35:43 +08:00
pandamicro 2b8874ee6c Merge pull request #2561 from pandamicro/fix
Enable dynamic atlas
2018-04-19 10:34:31 +08:00
pandamicro d87e146585 Enable dynamic atlas 2018-04-19 10:30:15 +08:00
pandamicro 685e1cc487 Update comment to english 2018-04-19 10:30:15 +08:00
pandamicro 2bec17c1f5 Merge pull request #2558 from 2youyou2/optimize
fixed issues
2018-04-19 10:19:06 +08:00
minggo 2358015f3b fix conflict 2018-04-18 17:06:07 +08:00
minggo 8f5f927a95 optimize performance 2018-04-18 17:01:46 +08:00
yinkaile 58c87a8d58 fixed issues 2018-04-18 15:49:44 +08:00
Jare Guo e0032bdfb8 Merge pull request #2557 from jareguo/next
fix modules.json
2018-04-18 12:41:25 +08:00
Jare Guo 9ae69ceb9a fix modules.json 2018-04-18 12:37:45 +08:00
pandamicro d6f15a3e77 Support build native with native renderer option 2018-04-18 12:36:46 +08:00
pandamicro 527e86ee1b Merge pull request #2541 from 2youyou2/optimize
support dynamic atlas packer
2018-04-18 12:35:45 +08:00
yinkaile 2ed79ae029 minor fixed 2018-04-18 11:53:22 +08:00
yinkaile abc4b0b5da optimize dynamic atlas 2018-04-18 11:36:31 +08:00
yinkaile b39a949aa3 minor fixed 2018-04-17 21:32:13 +08:00
yinkaile 441d88f874 minor fixed 2018-04-17 18:50:35 +08:00
yinkaile d07dbc103f optimize dynamic atlas 2018-04-17 18:48:30 +08:00
pandamicro 9d6b72f9e9 Merge pull request #2552 from pandamicro/optimize
Reduce performance.now invocation
2018-04-17 18:39:53 +08:00
pandamicro 01e6fcf943 Reduce performance.now invocation 2018-04-17 18:31:19 +08:00
pandamicro 8d6297a381 Merge pull request #2551 from pandamicro/optimize
Fix scale setting issue
2018-04-17 15:10:07 +08:00
pandamicro 2d03236dd4 Merge pull request #2550 from jareguo/next
read minRadiusVariance from particle plist
2018-04-17 14:58:26 +08:00
pandamicro a9790f608a Fix scale setting issue 2018-04-17 14:54:01 +08:00