Commit Graph

455 Commits

Author SHA1 Message Date
James Chen cd07d03b7d Removes wx API invocations for JSB projects. (#2668)
* Removes wx API invocation for JSB projects.

* sys.openURL fix for JSB.

* touches, mouse, keyboard capabilities check.
2018-05-11 18:00:40 +08:00
minggo ffeada68f3 fix musk issue (#2644) 2018-05-08 11:33:48 +08:00
pandamicro e4bdd1edc3 Merge remote-tracking branch 'fireball/master' into next 2018-05-02 16:16:33 +08:00
pandamicro a0043db9df Small issue fixes (#2617)
* Fix emit event on invalid animation issue

* Support setQuat with x, y, z, w

* Fix native running issue
2018-05-02 15:38:15 +08:00
Jare Guo c47f5aa68e Merge branch 'v1.9'
# Conflicts:
#	cocos2d/actions/CCActionInterval.js
#	cocos2d/audio/CCAudioEngine.js
2018-04-27 14:20:10 +08:00
James Chen 16de00f09e The textview of debugging info should also display whether GL opt mode is enabled. (#2603) 2018-04-26 16:51:34 +08:00
Jare Guo 013f155882 fix ZERO blend mode on web (#2597)
* stash

* fix ZERO blend mode support
2018-04-26 11:05:57 +08:00
minggo efee3b49ce adjust codes to unify js_loadImage binding codes (#2585) 2018-04-24 16:37:51 +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
wuzhiming 05bc4ce787 fix texture bug 2018-04-20 17:46:59 +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 99712484b1 Fix dumb issues 2018-04-20 13:50:42 +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 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 0f87a11100 Merge pull request #2564 from cocos-creator/optimize
Merge optimizations into next
2018-04-19 18:31:30 +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 e08fcfa5a7 Improve jsb renderer implementation 2018-04-19 11:17:01 +08:00
minggo 8f5f927a95 optimize performance 2018-04-18 17:01:46 +08:00
pandamicro d6f15a3e77 Support build native with native renderer option 2018-04-18 12:36:46 +08:00
PP 2aa406f0d8 fix jsb audio bug 2018-04-17 18:51:33 +08:00
pandamicro 3ffdf16c61 Fix issues for next merging dev 2018-04-16 19:44:34 +08:00
pandamicro 14a555e0fb Merge remote-tracking branch 'fireball/master' into next 2018-04-16 19:14:08 +08:00
minggo 335da463c5 optimize performance 2018-04-16 14:58:18 +08:00
minggo b31712a2e6 use native object to improve performance 2018-04-13 14:28:08 +08:00
minggo ad986709d9 make codes more effect 2018-04-12 13:44:28 +08:00
minggo 89e4e658ac remove unneeded codes 2018-04-12 13:44:12 +08:00
minggo 21cf3ee852 optimize performance 2018-04-12 11:45:18 +08:00
minggo ee7f1f5fc4 Merge branch 'next' of https://github.com/cocos-creator/engine into optimize 2018-04-11 11:16:16 +08:00
minggo bead8d6034 implement Effect, Technique, Model and Pass in JS 2018-04-11 11:14:43 +08:00
Jare Guo 0a932aef00 replace all RawAssets with Assets 2018-04-09 14:48:21 +08:00
James Chen 707bc6c5fc Removes WindowProperties.js file. 2018-04-04 17:55:58 +08:00
James Chen 50dcb0e8fd No audio deprecated any more. 2018-04-04 17:55:31 +08:00
James Chen 0ec2b387d0 FileReader API fix. 2018-04-04 17:55:17 +08:00
James Chen 801dc9c5dc XMLDOM isn't devloped by cocos, so remove the licence since the original source files also don't include a license information. but it's MIT in fact. 2018-04-04 17:55:01 +08:00
James Chen ebef9795a0 Merge runtime builtin scripts. 2018-04-03 20:55:02 +08:00
minggo 19a1354c9a fix some bugs to run on native 2018-03-30 16:35:30 +08:00
minggo 6b10483475 remove unneeded file 2018-03-30 11:05:27 +08:00
minggo 5a05af7795 fix according review comments 2018-03-30 10:25:54 +08:00
minggo cc7523a2d4 fix license 2018-03-28 17:41:38 +08:00
minggo 7204aab00e fix license 2018-03-28 16:45:14 +08:00
minggo d9c0236e50 jsb adapt 2018-03-26 14:54:34 +08:00
minggo 6e37e154f5 JSB adaption 2018-03-26 10:54:09 +08:00
pandamicro ed0fb81536 Avoid JSB build issue 2018-03-15 15:57:21 +08:00
pandamicro 77febbfe3d Merge branch 'master' into next 2018-03-13 15:07:21 +08:00