minggo
e80251eae6
Codes for native ( #9920 )
2022-01-11 17:30:18 +08:00
zhakesi
3a165fb7d3
fix natvie gc function ( #9810 )
2021-12-14 14:02:34 +08:00
ChiaNing
99bdb07378
Revert "mesh buffer cache add ( #9728 )"
...
This reverts commit 1c0db6414a .
2021-12-03 19:46:09 +08:00
ChiaNing
1c0db6414a
mesh buffer cache add ( #9728 )
...
* UI MeshBuffer Cache add
* support hierarchy changed event
* notify upper
* use Dirty by Hierarchy Changed
* PR fix
* Fix CI
* fix CI
* support hierarchy changed event & function name change
* function name change
* comment add
* type change
Co-authored-by: santy-wang <wh19930829@qq.com >
2021-11-25 21:25:16 +08:00
江战
e3c22253c1
Prevent inuse objects from GC ( #9715 )
...
* reserver pointer:]
* Update platforms/native/engine/jsb-scene.js
2021-11-24 10:18:29 +08:00
PP
f5511f4c87
Revert "Revert "optimize interface in screen module ( #9176 )"" ( #9490 )
...
This reverts commit b88d4845cc .
2021-10-15 10:21:04 +08:00
pandamicro
b88d4845cc
Revert "optimize interface in screen module ( #9176 )"
...
This reverts commit 4735476945 .
2021-10-14 23:07:23 +08:00
PP
4735476945
optimize interface in screen module ( #9176 )
...
* optimize interface in screen module
* remove DPR calculating
* update screen-adapter init
* set screen.resolutionScale as 1 by default
* remove pixelRatio getter in system-info
* remove sys.windowPixelRatio access
* optimize screen.windowSize
update
* convertToCocosScreenSpace
* change resolution-change to window-resize
* fix native UI
update
update UI
update UI
* optimize screen init
* fix subContextView
* fix root resize
* fix precision issue on Metal render end
* sys.windowPixelRatio
* use warnID
* remove screen.convertToCocosScreenSpace
* put private property and method together after public ones
* warnID
* fix landScape on CocosPlay
* fix DPR on vivo platform
* fix CI
2021-10-14 22:16:34 +08:00
timlyeee
1c437eb87e
js invoke JAVA and OSX function without reflection ( #9344 )
...
Co-authored-by: LX <codingboeuf@jizamaoxuewangdeMacBook-Air.local >
2021-09-29 14:18:35 +08:00
江战
7a14686b01
fix reflection ( #9404 )
2021-09-27 09:06:57 +08:00
zhakesi
cc3fa2a0b0
fix spine not be packed in, jsb error ( #9334 )
...
Co-authored-by: Santy-Wang <wh19930829@qq.com >
2021-09-16 16:53:50 +08:00
Yun Hsiao Wu
4cf1350fe0
gfx: swapchain refactor ( #9030 )
...
* update effect.hideInEditor
* swapchain refactor
* webgl multi draw
* implicit depth/stencil format
* native adapt
* explicit resizable texture
* DrawInfo in InputAssembler
* device cached states
* sync defines
* gfx: empty backend
* update playground
* remove profiler camera
* update effect types
* fix pass.resetUniform
2021-08-31 19:40:50 +08:00
zhakesi
e3795899ec
fix:when skeleton data destory clean all data. ( #9139 )
...
* fix:when skelton data destory clean all data.
previous version the info still exists in the data map,
this cause initializing skeleton failed second time.
* remove code no used any more
2021-08-06 17:05:28 +08:00
zhakesi
c35120b2bf
fix:avoid animation's name not be a string type ( #9114 )
2021-08-05 11:17:45 +08:00
cary
b8ec697a23
Change the sync of native pass to message queue. ( #9096 )
2021-07-30 10:15:05 +08:00
Santy-Wang
9ed30ce2c9
change extension of ccon ( #9091 )
2021-07-29 16:48:33 +08:00
江战
6270f592be
3.3 some optimization ( #9069 )
2021-07-27 13:38:56 +08:00
Santy-Wang
617adca055
strip extension and change extension in minigame ( #9061 )
2021-07-24 20:11:41 +08:00
Santy-Wang
41e0656cfa
support cconb in other platform ( #9055 )
...
* support cconb in minigame
* preprocess extension
* refine
* remove generic type
* dont change ext
2021-07-23 22:36:27 +08:00
jiaxin.lai
c7f68eb6e1
fix jsb physics ( #9053 )
2021-07-23 16:29:27 +08:00
jiaxin.lai
4cda45bfd9
physics unit-test and features base 3.3 ( #9027 )
...
* support ccd
* clearState after change type
* fix Instantiate rigid body with custom group
* add some extra functions
* update physics libs
* tweaks rigid body component
* add EVENT_UPDATE to PhysicsMaterial
* tweaks
* support switch physics backend
* remove redundant constants
* add config & min volume size
* update @cocos/physx to 1.0.4
* fix destroy cannon world
* correct init if manual construct physics system
* disable log info in test
* add some physics unit test
* add physics unit test
* make the config optional
* add runInEditor to selector
* pack physx js libs by default
* fix
* STASH
* stash
* tweaks
* rename
* update test
* support query trigger
* update @cocos/ammo to 1.1.6
* fix raycast with query trigger in physx
* raycast test with query trigger
* rename
* docs
* fix calculate local inertia (#8956 )
* rename
* delete
* allow generate mesh/terrain collider at runtime
* tweaks
* use sap by default
* update @cocos/ammo to 1.1.8
* update @cocos/physx to 1.0.7
* update @cocos/cannon to 1.2.8
* update package-lock
* add ccd test
* remove config
* rename
* fix 2d phy sys typing
* support global allow sleep toggle for bullet
* tweaks
* use naive broadphase by default
* rename
* docs
* tweaks
* add missing jugement
2021-07-22 15:52:18 +08:00
江战
94a450c07e
set nullptr ( #9005 )
2021-07-20 09:55:46 +08:00
江战
3eee6dfd4b
3.3 js message queue ( #8991 )
2021-07-16 15:20:31 +08:00
minggo
9fffa5d782
get delta time from cc.game ( #8967 )
2021-07-13 15:17:22 +08:00
mmyduckx
ec7a87afa3
add spine&db system && optimize system priority ( #8866 )
...
* add spine&db system && optimize system priority
* refine spine/db system
* fix misspelling
* refine
* remove errorID
* remove errorID
2021-06-29 16:59:52 +08:00
PP
960dc20334
compability with AudioClip method since deprecated on v3.1.0 ( #8905 )
2021-06-29 10:33:13 +08:00
santy-wang
c5dd05fbf1
Merge branch 'v3.1.2' of github.com:cocos-creator/engine into v3.3-merge
2021-06-28 14:40:34 +08:00
santy-wang
e58499bb3f
Merge branch 'v3.2.0' of https://gitlab.cocos.net/publics/engine into v3.3-merge
2021-06-22 16:59:04 +08:00
mmyduckx
4d3418484a
fix native spine slot bug ( #8859 )
2021-06-22 15:57:49 +08:00
mmyduckx
4eba23a7f0
fix spine blendmode in native ( #8834 )
2021-06-17 12:54:27 +08:00
cary
4305e4c132
Modify the memory pool and remove the deprecated code. ( #8776 )
2021-06-10 09:06:35 +08:00
minggo
424232493e
Merge pull request #8777 from minggo/merge_v3.1.2
...
Merge v3.1.2
2021-06-09 14:12:21 +08:00
Zeqiang Li
ac09bea040
remove nativeSize() interface ( #8745 )
2021-06-09 09:54:46 +08:00
cary
7a265315b2
merge node change of v3.1.2 ( #30 )
2021-06-08 15:39:43 +08:00
Yun Hsiao Wu
35e4cb81ec
take over native device initialization ( #8767 )
2021-06-07 11:10:17 +08:00
mmyduckx
a224d5384b
fix remove imageAsset._texture usage for db/spine ( #8742 )
2021-06-01 14:25:11 +08:00
jiaxin.lai
83c09dbbef
support getAABB and get bounding sphere in jsb ( #8710 )
2021-05-25 19:11:33 +08:00
jiaxin.lai
f01c3b3053
override physx instantiate in jsb ( #8709 )
...
* fix set damping
* override physx instantiate in jsb
2021-05-25 18:41:41 +08:00
jiaxin.lai
eac556ddab
physx optimize and multi thread in bytedance ( #8706 )
...
* sync damping
* stash
* tweaks
* sync damping
* tweaks
* physx muti thread
* tweaks
* tweaks
* tweaks
* tweaks
* sync native physx dampings
* add end of frame to director
* tweaks
2021-05-25 15:45:40 +08:00
mmyduckx
93491a40f2
remove ImageAsset._texture usage for spine & dragonbones ( #8658 )
...
* change spine texture only to use texture2d
* remove ImageAsset._texture usage
2021-05-24 15:01:48 +08:00
Santy-Wang
68896f6cfa
Merge pull request #8700 from cocos-creator/v3.1.1
...
merge V3.1.1
2021-05-21 15:48:53 +08:00
江战
2a2719a79c
HarmonyOS support ( #8679 )
2021-05-21 15:42:37 +08:00
PP
ad24ca70c7
update deprecated usage of sy API ( #8684 )
2021-05-18 13:31:27 +08:00
PP
420c9f59d4
support system.getSafeAreaEdge() ( #8654 )
...
* support system.getSafeAreaEdge()
* remove legacy adapter
* remove code
* update
2021-05-17 18:12:13 +08:00
PP
856120f52d
fix undefined element in caches array on v3.1.1 ( #8663 )
2021-05-12 10:23:21 +08:00
jiaxin.lai
9fd927c2f1
fix jsb-physics require canditions ( #8637 )
2021-05-06 20:29:13 +08:00
jiaxin.lai
ff37cc95fd
fix sync node transform on native ( #8558 )
...
* fix sync node transform
* sync node dirty only if in jsb
* tweaks
2021-04-26 21:32:05 +08:00
jiaxin.lai
28d62c8393
native physx ( #8455 )
...
* Stash
* add plane/capsule shape
* add syncTo/FromNativeTransform
* support trigger/collision events
* set rigid body property on enable
* group distinguish between serialized and lowlevel
* support trimesh-shape/mass-center
* fix cone/cylinder direction
* support cylinder/cone shape
* tweaks of pmtl
* fix setMesh
* support terrain
* support raycast
* support revolute joint
* support distance joint
* tweaks
* add some API docs
* tweaks
* optimize book and unBook
* tweaks
* tweaks
2021-04-19 20:21:29 +08:00
Zeqiang Li
a409acc7e0
native engine msaa ( #8470 )
2021-04-17 14:05:39 +08:00
Santy-Wang
2f8090ba7f
move importBundleEntry to factory ( #8339 )
2021-04-16 15:39:32 +08:00