Commit Graph

17466 Commits

Author SHA1 Message Date
ChiaNing 085b4a2d2e fix spriteFrame apply time (#9987) 2022-01-13 17:54:20 +08:00
ChiaNing 35882bf814 clean vb when allocate (#9989) 2022-01-13 17:44:46 +08:00
pandamicro 39fb445e64 Add MeshRenderData.resize for changing both buffer size and ia size (#9986)
* Improve code

* Improve code

* Add MeshRenderData.resize for changing both buffer size and ia size

* Fix tiled map
2022-01-13 15:08:20 +08:00
Santy-Wang e7bc1bf813 adjust PhysX initialization (#9641)
* adjust PhysX initialization

* refine

* refine

* refine comment
2022-01-13 14:07:22 +08:00
troublemaker52025 6d3d4830a3 fix planar-shadow normal is zero for v3.4.1 (#4165) 2022-01-12 23:26:46 +08:00
troublemaker52025 b3f9f3b6bb fix planar-shadow normal is zero for v3.4.1 (#9975) 2022-01-12 23:26:40 +08:00
pandamicro f177073891 Fix tiled map (#9980) 2022-01-12 23:25:34 +08:00
zxx43 291ec8f834 V3.4.1 particle performance improve (#9979)
* particle performance

* fix eslint error

* just get pass at particle-system
2022-01-12 22:22:01 +08:00
pandamicro 361f1355fd Separate ia range and buffer range in MeshRenderData (#9978)
* Separate ia range and buffer range in MeshRenderData

* Revert graphics modification
2022-01-12 18:23:13 +08:00
fish9167 1a06791908 change gitbub action trigger event (#9973)
修改任务触发方式
2022-01-12 15:38:03 +08:00
Zeqiang Li 675ecb2351 camera render area (#4164) 2022-01-12 15:37:39 +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
timlyeee 9340b1e3cd remove local reference array (#4161) 2022-01-12 15:27:14 +08:00
DolaMay b9babc391c Fix Lighting stage feedback loop (#4157)
* fix cluster check bugs

* Position Delete & Normal Compress

* Fix Lighting stage feedback loop
2022-01-12 14:36:49 +08:00
will f369711f40 fix: keep childs with same layer in editbox (#9971) 2022-01-12 14:31:53 +08:00
pandamicro cbcbd028df Merge pull request #9972 from cocos-creator/develop
Merge back develop fixes
2022-01-12 14:29:18 +08:00
zhakesi bc6004be7f avoid one MeshRenderData upload repeat (#9969)
* avoid one MeshRenderData upload repeatly.

* modify code style

* fix eslint

* fix eslint

* code style

* code modify
2022-01-12 14:22:28 +08:00
Leslie Leigh (李的序) a50fd9bb96 Fix skeleton animation cross fade/play won't stop last animation (#9965) 2022-01-12 12:02:01 +08:00
zxx43 6e32470a71 fix particle switch cpu / gpu bug caused by alignment space (#9952)
* fix particle switch cpu / gpu bug caused by alignment space

* ensure sqrt quaternion to be > 1
2022-01-11 23:18:55 +08:00
ChiaNing 733502e4f8 set opacity all time (#9959) 2022-01-11 20:29:57 +08:00
ChiaNing 6b005b8205 fix Opacity cascade (#9958) 2022-01-11 18:56:13 +08:00
fish0607 39c2c64b01 修改任务触发方式 (#9956)
修改任务触发方式(@cocos-robot run test cases)
2022-01-11 17:49:05 +08:00
troublemaker52025 7ca1e42f5c Fix no planar shadow on mac for v3.4.1 (#9953) 2022-01-11 17:39:08 +08:00
timlyeee 952f646bc1 remove unnecessary include (#4153) 2022-01-10 17:26:21 +08:00
timlyeee 08e9f59ce9 Fix callInfo leak (#4148) 2022-01-08 18:05:34 +08:00
Cocos Robot 7660b203ee [ci skip][AUTO]: Automated genbindings update: c4714ac283 (#4138) (#4145)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-01-08 12:01:44 +08:00
minggo d94dfea93a Merge pull request #4138 from minggo/merge_v3.4.1
Merge v3.4.1
2022-01-08 11:53:24 +08:00
minggo c4714ac283 fix compiling error 2022-01-08 11:12:16 +08:00
DolaMay 5321d81d95 Position Delete & Normal Compress: V3.4.1 native (#4135)
* fix cluster check bugs

* Position Delete & Normal Compress
2022-01-07 22:56:18 +08:00
DolaMay c6cda96170 Position Delete & Normal Compress: 3.4.1 (#9939)
* Position Delete & Normal Compress

* delete some debug codes

* code review fix
2022-01-07 22:56:14 +08:00
ChiaNing 9c7585cc51 fix some spine bug (#9948)
* fix some spine bug

* change Way

* useless del

* del value

* bug fix
2022-01-07 19:54:54 +08:00
PP 43152b0642 reset swallow state after event handling (#9950)
* reset swallow state after event handling

* update eventMouse

* update

* update
2022-01-07 19:38:41 +08:00
timlyeee f78ade706e Update config.json (#4137) 2022-01-07 18:45:00 +08:00
minggo c0bdd3c0d8 Merge branch 'v3.4.1' into merge_v3.4.1
Conflicts:
	cocos/bindings/event/EventDispatcher.cpp
	cocos/platform/android/jni/JniCocosActivity.cpp
	cocos/platform/apple/JsbBridge.mm
	cocos/platform/java/jni/JniCocosOrientationHelper.cpp
	cocos/platform/win32/CanvasRenderingContext2D-win32.cpp
2022-01-07 18:36:14 +08:00
timlyeee 1ffe722c4c Rename JsbBridgeWrapper API (#9923) 2022-01-07 17:43:25 +08:00
pandamicro 29b9eadd99 Merge pull request #9928 from holycanvas/v3.5.0-sync
V3.5.0 sync 3.4.1
2022-01-07 17:42:02 +08:00
PP d69d18dc7b revert deprecate system event (#9941) 2022-01-07 17:27:54 +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
Leslie Leigh (李的序) 626f55f050 Fix spine typing (#9942)
* Fix constructor missing

* Replace ლ as _

* Update

* Update
2022-01-07 13:18:23 +08:00
jk20012001 48c5301132 Fix planar-shadow plane offset sign (#9946) 2022-01-07 13:17:33 +08:00
zxx43 bebf8aff0a add cpu & gpu particle culling test (#9945) 2022-01-07 13:16:50 +08:00
PP f278c43206 fix cc_base.d.ts (#9944)
* fix cc_base.d.ts

* update
2022-01-07 11:33:43 +08:00
PP 9b052b31a5 use git clean -xfd (#9943) 2022-01-07 11:00:54 +08:00
SijieWang 32dec7bd16 Revert "Fix spine (#9929)" (#9940)
This reverts commit 600b1e1609.
2022-01-07 10:06:47 +08:00
qiuguohua 6d79a24cab V3.5.0 (#4134)
* Temporarily solve the application is released, but other modules need to use application

* Solve the application is released, but other modules need to use application

* Solve some warnings about platform adaptation

* Fix the problem that the linux platform is not assigned
2022-01-07 09:47:13 +08:00
PP c84b4306ab fix culling deprecated module (#9937) 2022-01-06 23:50:54 +08:00
PP 509f844b13 fix pointer event sorting after activating node (#9906) 2022-01-06 23:20:00 +08:00
troublemaker52025 cf6e3f6ff0 Change define(CC_DIR_SHADOW) to uniform(cc_lightDir.w) for v3.4.1 (#4129)
* change-CC_DIR_SHADOW-define-v3.4.1

* fix ci error

* update
2022-01-06 23:09:15 +08:00
troublemaker52025 39ff7f0798 Change define(CC_DIR_SHADOW) to uniform(cc_lightDir.w) for v3.4.1 (#9921)
* change define(CC_DIR_SHADOW) to cc_lightDir.w uniform for v3.4.1

* update

* update 2

* update effect

* update

* update effect 2
2022-01-06 23:08:39 +08:00
PP bc0f912279 fix keyboard event listening on mobile (#9935)
* fix keyboard event listening on mobile

* update deprecation info
2022-01-06 23:05:56 +08:00