* middleware2d components rendering in native mode
* support spine/dragonbones set enable batch
* support spine rendering in batching mode
* get batcher2d instance from root
* process about with type conversion
* fix some code style
* use material hash to merge draw batch
* deal with fill z
* fix dragonbones fill z
* remove some code no used any more
* refactoring some code
* modify some code
* add free memory
* fix clang-tidy
* delete mesh-buffer-layout in destructor
* byte alignment
* improve: update engine to support xr development
1.detach thread support more device
2.revert the modification of xr for makeCurrent
3.sync android templates change to xr
4.fix monado runtime templates, excessive permission
* improve: update engine to support xr development
1.add xr pico templates
2.update xr huaweivr templates
3.add xr api file
4.fix 'GFXDevice.h' base header file problem
* add color4b format
* render-2d adapter color format
* spine dragonbones use simple color
* rename V3F_T2F_C4B
* use attributes to init mesh buffer
* remove Vertex2DFormat
* particle local mode on native
* remove rebundant code
* when positionType changes, update entity data
* move to onEnable
* rename as renderTransform
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
* Change Android mainloop, add global config and template projects for XR.
* Change gfx/gles device's process flow for XR, working with other PRs, waiting.
* Change gfx/Vulkan device's process flow for XR, working with other PRs, waiting.
* Change render process for XR.
* Develop XR input and events.
* Develop 3D feature of UI widgets and raycast effect for XR.
Co-authored-by: fqamic <fqamic@vip.qq.com>
* use native middleware buffer
* fix clang-tidy
* fix clang-tidy
* set useLinkData as meshBuffer's property
* refactoring some code
* set 2d.ini
* fix word component
* fix clip middleware2d
* ...
* function attributes to getAttributes
* set colorDirty as true initially.
* move it to onEnable
* add vbColorDirty to protected native code sorting
* for complete padding
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
* support spine/dragonbones use local native batcher2d
* avoid tiled map use local
* render-entity add set use local
* modify some code
Co-authored-by: zhakesi <zhakesi@foxmail.com>
* parentOpacity move to RenderEntity
(cherry picked from commit f1d9b5cb55c1912bd61ba490ec46ce7108097556)
* parentOpacity remove from entity and put into funtion parameters
* unify dynamic and static handle process
* reform entity shared buffer structure
* modify default value of struct
* set drawinfo type for spine/dragonbones
* remove legacy method
* reform color .type as uint8 from float
* CI fix
* remove static-cast
* CI fix
* CI fix
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
Co-authored-by: liqiao <liqiao@cocos.com>