* Adding ttf is affected by dpr
* Adding Char mode is affected by dpr
* move dpr to style
* rebase & add max font size
* name change
* remove use less
* misc
* text processing file add
* processing String
* render & effect
* bmfont add
* char mode add
* code collate
* use less remove
* after rebase and change Sync
* add data class
* fix bm font clamp bug
* fix bitmap mode
* fix ci
* fix misc
* fix ci
* remove some code
* remove data class
* name change
* bug fix
* 1. remove rebundant invoking
2. ttf canvas texture resizes to width and height as (1,1)
* remove start() and move it to onLoad()
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
`cocos/core` should not depend other modules, so move some files out of `cocos/core`:
- move some files from `cocos/core` to `cocos/game`
- director.ts
- splash-screen.ts
- game.ts
- move `cocos/core/root.ts` to `cocos/root.ts` as there is not better module to contain `root.ts`.
- move `cocos/core/platform/view.ts` to `cocos/ui/view.ts` as screen related logic is moved to `cocos/core/platform/screen.ts`
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
- component.ts
- component-event-handler.ts
- component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`:
- missing-script.ts
- model-renderer.ts
- renderer.ts
- camera-component.ts
* move `cocos/core/components/system.ts` to ``cocos/core/system.ts``
move cocos/core/asset-manager to cocos/asset/asset-manager
move cocos/core/assets to cocos/asset/assets
merge cocos/core/builtin to cocos/asset/asset-manager
* first version mask
* image stencil material fix
* misc fix
* type change fix
* export fix
* some native code
* native fix
* use less remove
* remove isForMask
* material change
* delate sprite frame
* use less remove
* misc fix
* ci
* mate updte
* de
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
* 1. updateColorLate is rebundant
2. UIOpacity add node condition
* consistent interrupt opacities should be multiplied to the entity
* remove entity is null condition
* use isValid
* add comment
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>
* add protect condition of kerningDict and fontDefDictionary are undefined
* add warining when give a null parameter
* if fontatlas is null, create one
* narrow the size of letterAtlas initialization
* create global variables for assignment
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.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>