ChiaNing
a360eec69b
fix canRenderBug when color change ( #9437 )
2021-09-30 18:00:59 +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
PP
28242af04c
fix dispatch mouse wheel event ( #9397 )
2021-09-26 14:02:47 +08:00
PP
c61907d731
fix input bug ( #9393 )
...
* attach mask to node event processor
* compatible with systemEvent
* migrate pointer-event-dispatcher into 2d/event module
* update attachMask
2021-09-26 00:31:10 +08:00
PP
5878829d51
refactor UI pointer event dispatcher ( #9363 )
...
* optimize node event processor
# Conflicts:
# cocos/core/scene-graph/node-event-processor.ts
# cocos/core/scene-graph/node.ts
* support pointer event dispatcher
* remove event manager, event listener
# Conflicts:
# cocos/core/director.ts
# cocos/input/index.ts
* remove docs for event-manager
* fix pointer lock on web
* BREAKING-CHANGE: ui-transform.isHit interface
ud
* fix CI
* fix CI
* activeInHierarchy
2021-09-24 13:34:43 +08:00
santy-wang
6391b5705a
Merge branch 'v3.3.2' of github.com:cocos-creator/engine into v3.4.0-physx
2021-09-24 12:11:48 +08:00
ChiaNing
8be1785d8d
fix mask graphics enable bug for android ( #9317 )
2021-09-11 10:35:40 +08:00
ChiaNing
a7716e4347
fix Fix label outline artifact on web platforms ( #9307 )
2021-09-09 15:32:19 +08:00
santy-wang
c87577b809
Merge branch 'v3.3.1' of https://gitlab.cocos.net/publics/engine into v3.4
2021-09-09 13:33:35 +08:00
ChiaNing
68c5a04416
fix mask graphics enable bug & update builtin res meta ( #9301 )
2021-09-08 16:30:21 +08:00
PP
97b3657549
migrate input module out of platform ( #9296 )
...
* migrate input module out of platform
* revert EventKeyboard.isPressed deprecation
* fix CI
2021-09-07 15:24:43 +08:00
GengineJS
fd1ea41235
Fix the problem of deferred pipeline uimodel without light and metal crash ( #9261 )
...
* Fix the problem of deferred pipeline uimodel without light and metal crash
* update effect
* update comment
* update comment
* modify comment
2021-09-01 15:51:56 +08:00
ChiaNing
77177ec8f3
hack for iOS 14 to use mesh Buffer slice ( #9248 )
2021-09-01 13:39:52 +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
ChiaNing
844b1ea8d8
fix rich text color bug ( #9240 )
...
* fix rich text color bug
* reset other value
2021-08-25 18:10:40 +08:00
ChiaNing
a5cb20a995
Remove pass cache check ( #9216 )
...
* hack DS bind bug
* remove pass cache check
2021-08-20 11:07:44 +08:00
ChiaNing
f6eb8eb6ec
fix ui mesh render play anim bug ( #9184 )
2021-08-16 14:37:18 +08:00
cary
0a1356a816
Compatible with non-ReadOnly parameters. ( #9160 )
2021-08-15 22:01:41 +08:00
ChiaNing
2f861cd38d
fix mesh Buffer vertexCount Bug ( #9155 )
2021-08-09 18:29:16 +08:00
ChiaNing
61d9a25776
Fix requireBuffer bug ( #9131 )
...
* Fix requireBuffer bug
* fix _recreateMeshBuffer twice bug
2021-08-05 12:00:14 +08:00
ChiaNing
b4d2b3e7c1
fix canvas off bug ( #9128 )
2021-08-04 16:09:22 +08:00
ChiaNing
48bf90d61d
fix canvas targetTexture bug ( #9116 )
...
* fix canvas targetTexture bug
* resize camera by event
* name change
2021-08-04 12:01:55 +08:00
ChiaNing
42850fbc90
fix opacity Bug on mulit canvas ( #9103 )
2021-08-02 10:19:44 +08:00
hailua54
49f98a6273
fix bug remove all spine animations could cause a memory leak on native iOS ( #8978 )
...
* fix bug remove all spine animations could cause a memory leak on native iOS.
* Update batcher-2d.ts
change request approval.
* Update mesh-buffer.ts
change request approval.
* Update mesh-buffer.ts
change request approval
Co-authored-by: Nguyen Ngoc Vu Anh <>
2021-07-31 00:02:00 +08:00
Jare Guo
692c25d2b3
Deserialize: Should not explicitly export texture field in SpriteFrame data ( #9088 )
2021-07-29 16:04:38 +08:00
ChiaNing
aef1c2038d
fix sprite opacity change bug when start zero ( #9057 )
2021-07-23 18:54:06 +08:00
ChiaNing
5af3102b67
fix label opacity change bug ( #9049 )
2021-07-23 15:55:29 +08:00
Santy-Wang
00367f39e1
support auto-finalization in editor ( #9008 )
...
* support auto-finalization in editor
* refine
* refine
* handle global variable
* refine
* fix bug
* refine
* use debug instead
2021-07-23 15:10:40 +08:00
ChiaNing
7c05ca3bd3
fix label insert atlas twice bug ( #9035 )
...
* fix label insert atlas twice bug
* change function
2021-07-22 16:22:43 +08:00
ChiaNing
b157f056eb
label string null protect ( #9015 )
...
* label string null protect
* update change
2021-07-20 16:03:34 +08:00
stanleyljl
4fd3d77bbd
RenderTexture implements from TextureBase ( #9003 )
...
* RenderTexture implements from TextureBase
* delete constructor
Co-authored-by: lijilin <jilin.li@cocos.com >
2021-07-19 17:36:48 +08:00
ChiaNing
33725d600f
fix rich Text opacity bug ( #8985 )
...
* fix rich Text opacity bug
* update opacity use currOpacity
2021-07-18 17:34:08 +08:00
PP
5b230d70c5
fix sys coding auto completion ( #8995 )
...
* fix sys coding auto completion
* fix ci
2021-07-16 19:05:33 +08:00
PP
d7067c29c8
deprecate interface in View module && support pal/screenManager ( #8836 )
...
* remove BrowserGetter
* deprecated view.adjustViewportMeta
* deprecate view.enableAutoFullScreen and view.isAutoFullScreenEnabled
* remove view._adjustSizeKeepCanvasSize
* remove view._convertMouseToLocation, view._convertTouchWidthScale and view._convertTouchesWithScale
* remove view._originalDesignResolutionSize
* deprecate cc.winSize and cc.visibleRect
update
* access local winSize
* access local visibleRect
* deprecate view.getVisibleOrigin view.getVisibleOriginInPixel
* Revert "deprecate view.getVisibleOrigin view.getVisibleOriginInPixel"
This reverts commit 1ae9e1d5c51d8c701eaa2e4a65cd4c17e5f6d971.
* Revert "deprecate cc.visibleRect"
* optimize screen module
update
* update
update
* optimize deprecation info
* rename pal/system to pal/systemInfo
* update pal/systemInfo access in engine layer
* support pal/screenManager
* update pal/screenManager access in engine layer
* fix bug
* optimize deprecation info
* fix auto fullscreen
* fix ci
* fix ci
* update change request
update
update
* fix CI
2021-07-09 18:57:03 +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
江战
d443ff339d
SpriteFrame _serialize Rect & Vec2 ( #8922 )
2021-07-08 10: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
ChiaNing
cbf7090542
sprite fillbuffer cache & sprite misc change when set spf ( #8876 )
...
* sprite fillbuffer cache & sprite misc change when set spf
* misc fix
* remove Rect Dirty & add uiTransformDirty
* remove getHash
2021-06-25 13:57:24 +08:00
cary
a217f701ad
Optimize the synchronization of Pass. ( #8838 )
2021-06-23 13:40:02 +08:00
cary
249da72d43
Fix the shader error of submodel. ( #8853 )
2021-06-21 17:28:42 +08:00
santy-wang
51d80d3815
Merge branch 'v3.1.2' of https://gitlab.cocos.net/publics/engine into v3.3-merge
2021-06-16 17:37:10 +08:00
ChiaNing
e283c848d5
fix label ttf asset miss bug ( #8818 )
...
* fix label ttf asset miss bug
* type fix
2021-06-15 13:53:06 +08:00
troublemaker52025
8d0e57b0c5
Delete imageAsset.texture for v3.3 ( #8707 )
...
* delete imageAsset._texture for v3.3
* fix merge
* update
* update
2021-06-10 10:56: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
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
minggo
9f2a83330d
merge v3.1.2
2021-06-07 16:01:03 +08:00
cary
f37099c294
Change the parameter of the math library to Readonly. ( #8765 )
...
* Change the parameter of the math library to Readonly.
* fix ci
* fix ci
* fix ci
* fix ci
* fix ci
* delete pool
2021-06-04 17:36:15 +08:00
GengineJS
2315b4d2dd
Pipeline memory pool removed ( #8738 )
2021-06-02 17:23:02 +08:00
zxx43
e1f5d7393a
V3.1.2 optimization #7487 ( #8743 )
...
* optimize fillBuffers & updateWorldTransform
* modify _updateWorldAlpha & invalidateChildren
* 3d should consider parent rotation, so use the Vec3.transformMat4 function
* remove if check null
* remove if check
2021-06-02 11:25:40 +08:00