zhakesi
bac3bc99b3
fix sprite-frame size after repetitive dynamic creation of tiledmap ( #10535 )
...
* fix sprite-frame size after repetitive dynamic creation of tiledmap
* rename texture to sprite-frame
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-03-28 16:55:28 +08:00
zhakesi
5157fd2734
fix tiled show with pixel offset ( #10523 )
...
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-03-26 19:13:47 +08:00
Santy-Wang
ab82e1b42d
remove hidden ( #10414 )
...
* remove hidden
* fix typo
* fix unit-test
* turn on auto fix
2022-03-22 15:11:16 +08:00
pandamicro
1446db89e7
Merge branch 'v3.4.2' into v3.5.0
...
# Conflicts:
# cocos/2d/components/sprite.ts
# cocos/2d/framework/ui-transform.ts
# cocos/2d/renderer/render-uniform-buffer.ts
# cocos/core/builtin/effects.ts
# cocos/core/builtin/shader-sources/glsl1.ts
# cocos/core/builtin/shader-sources/glsl3.ts
# cocos/core/builtin/shader-sources/glsl4.ts
# cocos/dragon-bones/ArmatureDisplay.ts
# cocos/spine/skeleton.ts
# editor/assets/chunks/cc-sprite-fs-gpu.chunk
# editor/assets/chunks/cc-sprite-fs-gpu.chunk.meta
# editor/assets/chunks/cc-sprite-vs-gpu.chunk
# editor/assets/chunks/cc-sprite-vs-gpu.chunk.meta
# editor/assets/default_skybox.meta
# editor/assets/effects/builtin-sprite-gpu.effect.meta
2022-02-28 17:24:02 +08:00
pandamicro
2ba83f18a4
Ensure RenderData.clear won't break usability ( #10177 )
...
* Cleanup Renderable2D onDestroy and destroyRenderData
* Ensure RenderData.clear won't break usability
* Remove quad render data
* Fix Skeleton.destroyRenderData
* Small tweak
* Fix ci
* Add protection to buffer accessor size calculation
* Cleanup spine & dragonbones code
* Improve DragonBones draw list management
* Fix currRenderData state issue
2022-02-25 14:56:54 +08:00
zhakesi
c51684608e
fix getTiledTileAt cause layer show wrong. ( #10137 )
...
* fix getTiledTileAt cause layer show wrong.
* fix code style
2022-02-21 16:14:40 +08:00
zhakesi
9bf99c2977
fix releaseMapInfo error. ( #10062 )
...
* fix releaseMapInfo error.
* fix tiledmap releaseMapInfo
2022-02-09 15:36:27 +08:00
zhakesi
f4591341cb
fix tiledmap show wrong ( #10059 )
2022-01-27 17:12:58 +08:00
ChiaNing
8f87cbd483
useless UI_GPU code delete ( #10048 )
2022-01-25 19:14:41 +08:00
santy-wang
995f5b2d41
Merge branch 'v3.4.2' of https://gitlab.cocos.net/publics/engine into v3.5-merge
2022-01-24 15:56:49 +08:00
zhakesi
11ec677182
fix TiledLayer culling row and col ( #10035 )
2022-01-21 18:58:37 +08:00
pandamicro
1ed6b85579
Temporary fix for tiled map with custom nodes ( #10017 )
...
* Revert "use byteLength instead of byteCount in tiled-layer (#10008 )"
This reverts commit 2d23a28b32 .
* Temporary fix for shield node test case
2022-01-19 08:58:23 +08:00
zhakesi
2d23a28b32
use byteLength instead of byteCount in tiled-layer ( #10008 )
...
* use byteLength instead of byteCount in tiled-layer
* use byteLength to replace byteCount
2022-01-18 13:35:35 +08:00
zhakesi
22ef32a09f
fix TiledLayer's color setting ( #9997 )
2022-01-14 22:07:23 +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
pandamicro
f177073891
Fix tiled map ( #9980 )
2022-01-12 23:25:34 +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
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
fbde8d1e90
use lagacyPublic to marked deprecated public interface ( #9859 )
...
* use lagacy-public
* publish beta6
* remove jsDoc tag from constructor
* use legacyPublic
* publish beta 7
2021-12-28 11:48:10 +08:00
PP
cc01fad918
support internal interface filter ( #9797 )
...
* support interface filter
* publish build-engine@4.2.20-beta.1
* update
* fix other type of statement
* publish @cocos/build-engine 4.2.20
* update lock
* remove `@internal` from constructor documentation
* change to internal_cc tag
* support target tag in interface-filter
* publish 4.2.21-beta.1
* remove `@private_cc` tag
* remove public internal interface
* remove public internal getter setter
* remove public declare internal property
* update
* remove `__editorExtrasTag__`
* remove public internal interface on `js`
* pulish @cocos/build-engine 4.2.21-beta.2
* change tag to `@deprecated_to_user`
* support `@deprecated_to_user`
* publish 4.2.21-beta.3
* finish change request
* change to marked_as_engine_private
* publish 4.2.21-beta.5
2021-12-22 12:55:45 +08:00
zhakesi
24b08a6d4c
fix pixels offset ( #9829 )
2021-12-17 14:01:09 +08:00
ChiaNing
99bdb07378
Revert "mesh buffer cache add ( #9728 )"
...
This reverts commit 1c0db6414a .
2021-12-03 19:46:09 +08:00
ChiaNing
3673752872
Revert "fix mesh buffer cache update bug ( #9734 )"
...
This reverts commit f1c8e2528a .
2021-12-03 19:45:55 +08:00
ChiaNing
f1c8e2528a
fix mesh buffer cache update bug ( #9734 )
2021-11-26 14:01:52 +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
PP
f433551d1d
support system feature query ( #9428 )
...
* support feature query in pal/system-info
* support sys.hasFeature and deprecate sys.capabilities
* remove deprecated usage
* support input feature query
update
* IMAGE_BITMAP
* INPUT_TOUCH
* WEBGL
* support WEB_VIEW, VIDEO_PLAYER, SAFE_AREA query
* rename INPUT_XXX to EVENT_XXX
* support device-manager
update
update
update
* add NOTE
* export deviceManager from gfx
* fix circular dependency
* fix wechat devtools
update
* Revert "fix circular dependency"
This reverts commit ba8a6c0e2e4fa6b2015ae438a4c9a5da94b9bf46.
* Revert "export deviceManager from gfx"
This reverts commit 14b26ca0e3f6e0dce32c37bd668c65193dbd366f.
* Revert "support device-manager"
This reverts commit 010a910e56e1ee2fe9726629fca163fc24ed5b37.
# Conflicts:
# pal/system-info/enum-type/feature.ts
* update
update
* use INPUT_TOUCH for sys.capabilities
* update
2021-10-14 10:29:36 +08:00
ChiaNing
f54c8f5844
fix tiled bug for GPU Mode ( #9456 )
2021-10-11 13:46:19 +08:00
ChiaNing
24fe3ff784
UI GPU dirven add ( #9378 )
...
* uniform
* uniform buffer add
* add dummy IA
* first working version
* misc & data structure optimize
* fix webGL1 bug
* rebase on 3.3
* add maxQuadPerDrawcall by device
现在每个DC能绘制的数量由设备返回的 uniform 数量上限决定
* add index
* index bug fix
* sliced ia add(Not finish)
* change mat4 to vec4
* change stride num
* new vec4PreUI finish
* misc fix
* size & anchor dirty add
* bug fix
* add UICapacityDirty
(cherry picked from commit 417e10c8d3422363d80828539b110b93ee4d3cb1)
* static buffer cache version
(cherry picked from commit 1ffe7e7943cdf9af085aeda5ca218c3442fa9119)
* static buffer update version
(cherry picked from commit 964d9cb5b3230963b2a535acac99a34cde7eb63c)
* cache localbuffer
(cherry picked from commit 641b956def64023e0d47be66bc0c0a37ef1e9791)
* fix setPosition event & fix DS release
* weak sliced & filp tiled mode add
* fix tiled y
* fix sliced bug
* ugly but work filled type add
* update effect
* filled mode effect
* shader fix
* RenderData dirty for render data update
* revert fillbuffer
* misc fix
* support label bmfont by meshBuffer
* fix sliced bug & commit Model
* fixed some render dirty flag bug
* cut code by macro.UI_GPU_DRIVEN
* cut code by UI_GPU_DRIVEN Macro on build
* cut file by UI_GPU_DRIVEN
* I-batcher interface add
* remove render queue cache
* file name change
* file name change
* after merge
* fix for v3.4
* useless remove
* fix texture rotation
* fix sliced when atlas rotation
* useless code remove
* native bind
* update effect
* fix DynamicOffsets bind bug
* PR review fix
* effect encapsulation
* change chunk
* update effect
* update shader
* remove color in fs
* move code
* fix UBO buffer bug
* fix ubo count to 10
* fix vk bind
2021-09-29 22:32:33 +08:00
zhakesi
942493cabb
fix-doc: setLayerName with upper case S ( #9234 )
2021-08-23 18:53:15 +08:00
Santy-Wang
9d23637f06
delete useless code ( #8601 )
...
* delete useless code
* refine format and fix typo
2021-07-09 14:38:04 +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
mmyduckx
361a96f148
fix tilemap collection ( #8841 )
2021-06-18 15:03:04 +08:00
mmyduckx
ce5831d596
fix tilemap collection ( #8835 )
2021-06-17 12:53:49 +08:00
mmyduckx
ef9e694acd
Sync to 3.1.2 ( #8820 )
...
* [sync]fix spine attach node bug #8583
* [sync]fix update color#8792 & fix blend#8804 & opt cleantrack#8800
* [sync]fix tilesets when using multi-image#8715
* [sync]fix tilenode.matrix bug & set grid in tiledtile #8747
2021-06-15 16:32:30 +08:00
PP
4914116834
optimize SystemEventType and NodeEventType ( #8678 )
...
* remove recomendation for usage of string type of event
* deprecate KEY_DOWN KEY_UP event
* support SystemEventType.KEYBOARD_DOWN && SystemEventType.KEYBOARD_UP
* deprecate some useless properties
* implement keyboard pal
* remove SystemEventType toString()
update
* fix instantiating EventTouch
* optimize deprecated info
* support native keyboard KEYBOARD_DOWN event
* remove usage of event code
* fix deprecating pure value properties
* optimize deprecating Event type
* optimize deprecating getEventCode()
update
* optimize deprecating eventType
* optimize deprecating isPressed
* optimize deprecating keybaord event
* optimize deprecating rawEvent
* Revert "fix deprecating pure value properties"
This reverts commit 60d586532496fa1f422f05c54a922b86d1dc96ee.
* fix deprecate pure value properties
* Revert "fix deprecate pure value properties"
This reverts commit a83f1725fedfbd7af445892912aacab8e8502147.
* fix deprecating pure value property
* update
updaate
* deprecate some EventType enum in SystemEventType and NodeEventType
* optimize
* update
update
* update
* update
* fix CI
* fix CI
* fix Circular dependency
* fix Circular dependency
2021-06-07 19:06:29 +08:00
mmyduckx
d1832d0e5d
fix tilesets when using multi-image ( #8715 )
2021-06-04 11:43:38 +08:00
mmyduckx
969c36f742
fix tilenode.matrix bug & set grid in tiledtile ( #8747 )
2021-06-03 16:34:21 +08:00
Santy-Wang
3573d246e8
initialize with parent's layer ( #8566 )
2021-04-27 15:24:01 +08:00
ChiaNing
00aca35ef2
fix some deprecated value warn ( #8553 )
2021-04-25 21:08:58 +08:00
Santy-Wang
2b3ab66a47
add asset place holder and remove deferred loading ( #8473 )
...
* remove deferred loading and add place holder
* resolve circle referenced
* support most of asset
* refine
* fix bugs
* refine
* should use getClassId
* change name
* change name
* change isPlaceHolder to isDefault
2021-04-19 19:48:27 +08:00
mmyduckx
2e3dab86ed
fix animaiton failure ( #8433 )
2021-04-14 13:44:30 +08:00
mmyduckx
9e081d2314
fix .tmx not found ( #8428 )
...
* fix .tmx not found
* correct spelling
2021-04-12 11:55:56 +08:00
troublemaker52025
05a72cdee1
Delete private node for v3.1 ( #8382 )
...
* delete private node
# Conflicts:
# cocos/core/scene-graph/private-node.ts
* update
* Alias of Node
* update
* dont use enum ALL
* fix bug for editor
* update
* update
* update
* Retaining deprecated objects
* update
* update
* update
* using warnID and update EngineErrorMap.md
2021-04-08 17:47:05 +08:00
ChiaNing
90d94fead6
api module change ( #8272 )
...
(cherry picked from commit 314ede133cd6b1873b6f71876f16947733de2c46)
2021-02-25 17:31:08 +08:00
JoneLau
6493f22faf
add component menu categories ( #8206 )
2021-01-25 19:39:43 +08:00
mmyduckx
cb8bc77a00
Add spine node related prompt & Turn on tiledtile tab ( #8201 )
2021-01-25 12:45:05 +08:00
mmyduckx
b6c2f18239
add enableCulling in tilemap v2 ( #8160 )
2021-01-19 16:43:08 +08:00
mmyduckx
40523fb82d
Add enableCulling in tilemap ( #8159 )
...
* add enableCulling in tilemap
* update for ESLint
2021-01-19 14:13:20 +08:00
pandamicro
c6dad8c494
Merge render scene and improve naming for 2d render ( #8142 )
...
* format and tweek
* Refactor renderer: UI to 2D naming
* refactor root.ui to root.batcher2D
* Refactor UIBatchView to BatchView2D
* Fix issues
* Merge UI render scene to main render scene
* Improve camera scene check in forward pipeline
* Fix eslint ci
* skip js files
2021-01-15 11:43:09 +08:00
ChiaNing
fa2057deb4
RenderRoot2d comp add ( #8120 )
...
* RenderRoot2d comp add
* name change
* require UITransform on renderRoot
2021-01-12 14:55:17 +08:00