PP
549108d018
support bundle-adapter workflow ( #11337 )
...
* update require
* support bundle-adapter workflow
update
* update adapter require
* add timer
* update
* update lock
update lock
* remove node version for npm test CI
* with node version 16.15
* install jsdom
* use 16.15
2022-06-08 12:47:23 +08:00
zhakesi
89621a8084
optimize spine use local mode in native ( #11225 )
...
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-05-29 13:46:05 +08:00
minggo
7814949998
Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1
2022-05-24 11:53:57 +08:00
zhakesi
4d426ccbd1
remove enableBatch from spine/db ( #11100 )
...
* remove enableBatch from spine/db
* add deprecated
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-05-16 12:41:30 +08:00
James Chen
7203b63a50
fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject ( #11060 )
...
* fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject
* Add more comments in CCObject.cpp
2022-05-16 09:49:45 +08:00
minggo
84c27e7f71
Merge branch 'v3.5.0' into v3.6.0_merge_v3.5
2022-04-24 13:41:27 +08:00
zhakesi
b0c97b6986
fix:set skeleton data, _cachedSockets should be reset ( #10671 )
...
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-04-07 16:23:47 +08:00
minggo
a6bf766170
Merge branch 'v3.5.0' into v3.6_merge_v3.5
2022-03-29 18:26:40 +08:00
ChiaNing
0587992cb1
fix label Blend Factor bug for BYTEDANCE ( #10516 )
...
* fix label Blend Factor bug for BYTEDANCE
* update
2022-03-26 18:53:07 +08:00
CC9701
f8d36990af
update runtime ral ( #10166 )
...
Re: cocos-creator/3d-tasks#
Changelog:
1. Fix the value of windowHeight and windowWidth pixelRatio return by getSystemInfo(Sync) on VIVO platform
Add ral/API.md as ral API reference
2. Add API getFeaturePropertyInt which was described in ral/API.md
3. Fix CP call sys.garbageCollect() will get TypeError on OVH and cocosplay
2022-03-23 12:11:24 +08:00
kenshin
2b016c7eeb
force update for spine color setting. ( #10417 )
2022-03-22 18:12:52 +08:00
zhakesi
c4730a29dc
fix animation not work caused by creating spine in a hided node ( #10380 )
...
* fix animation not work caused by creating spine in a hided node
* use a flag to mark if need update skeleton data setting
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-03-21 19:36:44 +08:00
zhakesi
9a4cf3784e
fix spine in native platform can not get animation name ( #10303 )
2022-03-15 11:02:07 +08:00
timlyeee
2769040896
editbox-win32 ( #10118 )
...
* editbox-win32
* editbox styles
* bind with jsb_input
2022-03-14 15:52:35 +08:00
zhakesi
8561d5e686
fix dragonbones/spine sockets transform ( #10260 )
2022-03-10 16:18:28 +08:00
pandamicro
4644f758a8
Merge pull request #10261 from minggo/merge_v3.5.0
...
Merge v3.5.0
2022-03-09 11:52:19 +08:00
Santy-Wang
60cd1fd00c
fix PhysX error in native platform ( #10263 )
...
* fix physX error in native platform
2022-03-08 17:02:29 +08:00
minggo
73c303f556
Merge branch 'v3.5.0' into merge_v3.5.0
2022-03-08 14:53:00 +08:00
zhakesi
d70256b7b5
avoid middileware-2d copping buffer from native to js ( #10235 )
...
* avoid middileware-2d copping buffer from native to js
* remove redundant function
2022-03-04 11:48:51 +08:00
bofeng-song
141128f148
refine context2d, reduce call from native to js ( #10211 )
...
* reduce c++ callback to js
2022-03-02 09:56:00 +08:00
pandamicro
50a43e18e4
Shared vb accessor for spine ( #10077 )
...
* Robust updateOpacity in batcher & cleanup code
* Support Batcher2D commitIA
* Support customized buffer size for StaticVBAccessor
* Reorganize RenderData logic and prepare spine refactor
* spine realTimeTraverse using dedicated accessor
* Support spine clipping
* Fix updateOpacity in batcher 2d
* Support Spine cache mode
* Fix ci
* Use different accessor for tint spine
* Update effect
* Fix native spine and dagonbones IA range issue
* Fix spine tint accessor registartion
* Revert darkColor default value
* Fix spine accessor switching issue and render data init issue
* Shared vb accessor for dragonbones (#44 )
* Shared vb accessor for dragonbones
* fix code style
* add explanation why need resize render data in realTimeTraverse
Co-authored-by: zhakesi <liqiao@cocos.com >
2022-02-18 15:24:59 +08:00
santy-wang
41fe64b097
Merge branch 'v3.5.0' of https://gitlab.cocos.net/publics/engine into v3.6.0
2022-01-24 17:45:05 +08:00
zhakesi
cff5293a45
V3.4.1 local db ( #10031 )
...
* fix db can not move in editor
* fix db native mode
2022-01-21 19:00:04 +08:00
timlyeee
4d8b3a1266
add OHOS platform detection ( #10028 )
2022-01-21 11:09:01 +08:00
ChiaNing
2f1d6ae04e
request IA by pool ( #9967 )
...
* request IA by pool
* change to use RecyclePool
* fix reset
* ia Start fix
* fix DB
2022-01-12 15:29:55 +08:00
minggo
e80251eae6
Codes for native ( #9920 )
2022-01-11 17:30:18 +08:00
timlyeee
1ffe722c4c
Rename JsbBridgeWrapper API ( #9923 )
2022-01-07 17:43:25 +08:00
pandamicro
bd3c30fd4c
BufferAccessor refactor for Batcher2D ( #9802 )
...
* VB cache add(only simple)
* sliced add
* after rebase
* Extract BufferAccessor from MeshBuffer
* Refactor for linear buffer accessor
* Support simple sprite
* Fix initialization issues
* Fix simple sprite rendering
* Rough adaptation
* tweaks
* Fix LinearBufferAccessor's appendBuffers
* Cleanup mesh buffer codes
* Reorganize ia allocation
* Middleware adaptation & Particle 2d adaptation (#31 )
* Middleware adaptation
* particle-2d adaptation
* Initial implementation of static vb accessor
* Complete static vb accessor
* Improve static vb accessor
* Ensure MeshBuffer.byteOffset
* Fix record batch process in static vb accessor
* Fix vb reset
* simple & simple label add (#32 )
* Meshbuffer static length (#33 )
* set ib only first time
* Meshbuffer static length
* Some name refactor
* remove RenderData.vData
* Improve buffer update logics
* Use appendIndices in fillBuffers
* The quickest version(simple & label can render) (#34 )
* Revert "Use appendIndices in fillBuffers"
This reverts commit 0600e26f7eee277c820c3097b1f48f79fcf60890.
* the quickest version
* pass renderScene
* batch
* change batcher update
Co-authored-by: pandamicro <lphuabin@gmail.com >
* Move ia record logic from accessor to batcher
* Make vertexFormat sourced from render data
* sliced & bar-filled (#35 )
* radial-filled & tiled & label (#36 )
* radial-filled & tiled
* bmfont & char label
* function change
* name change
* Remove uvDirty
fixes
Fix uv update for sprite
* Reduce mesh buffer setDirty
* uv fix
* Format label
* Refactor color and cascade opacity mechanism
* Fix empty render data or chunk absent issue
* fix some uv (#37 )
* Fix non stop allocation issue in static vb accessor
* fix bmfont richText & remove uiComponent (#38 )
* fix bmfont uv
* fix richText & remove ui Component
* Fix mesh render data batching
* Small fix
* Update for spine
* Formatting jsb spine and editor
* middle ware & particle 2d (#39 )
* motion-streak
* dragon Bones add
* tiled map unsafe change
* particle-2d add
* function name change
* some function change (#40 )
* Fix RenderData pool usage
* Fix merge issue
* fix misc bug (#41 )
* Native adaptation for spine and dragonbones with MeshRenderData
* misc fix (#42 )
* Improvements
* Fix ci and improvements
Co-authored-by: ChiaNing <sun.cloud.mo@gmail.com >
2022-01-07 15:43:04 +08:00
PP
c84b4306ab
fix culling deprecated module ( #9937 )
2022-01-06 23:50:54 +08:00
timlyeee
f5a6a64372
Jsb-event-handler for event dispatch ( #9879 )
2022-01-04 13:37:44 +08:00
PP
3a3f1ea151
fix set frame rate on runtime ( #9874 )
2021-12-27 14:35:18 +08:00
Zhang mingzhen
0624fb1d2e
Mask not work with spine v3.4.1 ( #9864 )
...
* add condition spine preRenderComponent validation before autoMergeBatches
(cherry picked from commit 04fcebde46ec264c0f09e6afdcba54ae6935a1fc)
* add explanations
(cherry picked from commit 72f8439cfdeda28d4f9b944b4f3d5640bbd05fb3)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2021-12-23 18:59:26 +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
W-MTZing
f535925cb7
fixed Cocos play getting Webgl error ( #9609 )
2021-11-03 23:53:57 +08:00
PP
3c2abc5fba
remove adapters code ( #9494 )
2021-10-22 18:45:28 +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
CC9701
04c58f61ad
Fix touch event error on vivo platform ( #9467 )
...
Fix touch event error on vivo platform find in some device with notch screen
2021-10-14 10:29:36 +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
PP
ccd505ad14
migrate Engine Input Event into PAL ( #9320 )
...
* optimize input module
* rename
* fix CI
* update input-box.d.ts
2021-09-15 13:51:38 +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
PP
fa6ba48c27
fix undefined window.location.protocol ( #9185 )
2021-08-16 15:22:21 +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