Leslie Leigh (李的序)
a7f48be180
Remove deprecated API in animation module ( #10645 )
...
* Remove deprecated API of animation
* Update
* Revert removal of animation component
2022-04-10 21:56:16 +08:00
minggo
be735449af
Revert "remove some deprecated api ( #10656 )" ( #10694 )
...
This reverts commit a1b1fc5a09 .
2022-04-08 11:51:06 +08:00
minggo
a1b1fc5a09
remove some deprecated api ( #10656 )
...
* remove some deprecated api
2022-04-07 16:31:02 +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
Zhang mingzhen
782be9bdce
add extra name like cc.xxx from legacyCC namespace ( #10076 )
...
* add extra name as cc.xxx from legacyCC namespace
* remove rebundant code
* remove rebundant namespaces
* fix unit test bug. supplement global variables classes.
* UIModel->UIMeshRender
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-02-21 14:14:16 +08:00
Yun Hsiao Wu
198034ec2c
refactor access type array to access flags ( #10103 )
2022-02-16 09:56:46 +08:00
Yiwen
d0719c6727
add a new interface to query format feature info ( #9949 )
...
* add format feature information for query
* adapted the higher level code to use the new formatFeature query inferface, and run the test-cases-3d
* remove uncessary public interface
* remove uncessary public interface
* remove unnecessary api
* fixed the name of function support16FTexture.
* clean the code, fix some typos.
* correct format features
* group the judgemnts to fix the logic
* query the support to compressed from a decent method. correct some bit operations.
* add FormatFeatureBit into globaleVariable's database to pass npm test
* Add deprecation information to help developers move to the new
interface. Every time a deprecated property is accessed, an error will
present. So developers must move to the new interface following the
instruction in the error info.
* Move the deprecation information to the right module.
2022-01-25 19:02:25 +08:00
Yun Hsiao Wu
a3bc15d83d
misc fixes ( #9631 )
...
* prefer D24S8 first
* webgl creates only one context
* restore render area semantic
* fix inefficient usages in pipeline
* fix raycast pre-rotation adaptation
* draw profiler only once
2021-11-11 17:21:09 +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
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
PP
5a4bed2379
support inputManager.frameDispatchEvents() in main loop ( #8954 )
...
* support pollEvent() API on pal/input
update
update pal
* support inputManager.frameDispatchEvents() in main loop
* remove event-manager module
* fix CI
* fix _glView
* fix CI
* fix director pause
* update for
2021-07-16 13:45:01 +08:00
Yun Hsiao Wu
5130002624
sync gfx macros ( #8935 )
2021-07-06 14:03:06 +08:00
Yun Hsiao Wu
d1d077c098
gfx: sRGB texture support ( #8822 )
2021-06-17 18:09:57 +08:00
Yun Hsiao Wu
d8890c558f
optimize WebGLCmdFuncBindStates ( #8705 )
2021-05-26 12:36:19 +08:00
Yun Hsiao Wu
6d5cf2112a
unify forward/deferred material ( #8267 )
2021-02-22 15:56:30 +08:00
pandamicro
c5d4c5c08e
Merge remote-tracking branch 'origin/v3.0.0' into device-proof
...
# Conflicts:
# cocos/3d/assets/morph-rendering.ts
# cocos/core/builtin/builtin-res-mgr.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/core/pipeline/index.jsb.ts
# cocos/core/pipeline/planar-shadow-queue.ts
# cocos/core/pipeline/render-additive-light-queue.ts
# cocos/core/pipeline/shadow/shadow-flow.ts
# cocos/particle/renderer/trail.ts
# cocos/physics/ammo/polyfill-atob.ts
# editor/assets/effects/builtin-spine-two-colored.effect.meta
# jest.config.js
# platforms/native/engine/jsb-pipeline.js
# tests/general/sealed-global-variables.json
2021-02-07 18:33:59 +08:00
Yun Hsiao Wu
78f33fe31b
fix conflicts
2021-02-05 11:45:37 +08:00
jiaxin.lai
a1963ca9b1
support switch body type at phsyx ( #8167 )
...
* support switch body type at phsyx
* tweaks
* fix ci
2021-01-23 17:30:15 +08:00
jiaxin.lai
fadf3d9b00
support dynamic select physics backend ( #8048 )
...
* support dynamic select physics backend
* skip physics ray group
* fix eslint
* lint
2020-12-30 15:47:06 +08:00
Jare Guo
676c267150
remove RawAsset (sync #6286 ) ( #7697 )
2020-11-08 22:45:15 +08:00
pandamicro
3068956648
Refactor gfx module naming convention ( #7663 )
...
* Remove GFX prefix in gfx module
* Full deprecation for old GFX APIs
* export gfx module
* Fix issues and make deprecated exports backward compatible
* Adaptation in engine modules for gfx
* Fix ci
* fix ci
2020-11-02 09:49:50 +08:00
Jare Guo
e2b740dd15
Finally merge runtime deserializer & asset manager ( #7648 )
...
* sync asset-manager
refine
refine
refine
* change director
* refine
* fix bugs
* commit
* refine and fix bugs
* refine docs
* fix bugs
* merge
* fix bugs
* fix bugs
* merge
* sync jsb-adapter
* fix ci
* adapt preloading process for new Deserializer
* adapt preloading process for new Deserializer
* fix bugs
* minor fix
* dump dependency of SpriteFrame explicitly (sync #6938 )
* dump dependency of SpriteFrame explicitly (sync #6938 )
* remove unused variable
* exporting should trigger uuid compression in serializer
* refine
* fix ci
Co-authored-by: Santy-Wang <wh19930829@qq.com >
2020-10-30 20:51:58 +08:00
cary
6bcc7933a9
Add motion streak and particle 2d. ( #7588 )
...
* Add motion streak and particle 2d.
* fix buffer error
* modify comment error
* fix ci
* fix comment
* modify some comment
2020-10-27 11:48:17 +08:00
cary
8fffa7fb88
Change skybox and shadow to buffer pool. ( #7306 )
2020-09-09 11:37:35 +08:00
pandamicro
8172574ec3
Fix ci
2020-09-03 11:37:15 +08:00
pandamicro
e9780cd3c8
Fix sealed global variables
2020-09-03 11:33:09 +08:00
pandamicro
3539945cf4
Merge remote-tracking branch 'origin/3d-v1.2' into merge1.2
...
# Conflicts:
# tests/general/sealed-global-variables.json
2020-09-03 11:30:28 +08:00
Leslie Leigh (李的序)
4e56acb851
Fix missed cc.* ( #7282 )
...
* Fix missed `cc.*`
* Fix
2020-09-02 19:04:38 +08:00
pandamicro
1d2a82d957
Merge branch '3d-v1.2' into merge1.2
...
# Conflicts:
# cocos/core/3d/framework/mesh-renderer.ts
# cocos/core/components/ui-base/ui-renderable.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/forward/scene-culling.ts
# cocos/core/pipeline/render-additive-light-queue.ts
# cocos/core/pipeline/render-stage.ts
# cocos/core/pipeline/shadow/shadow-flow.ts
# cocos/core/renderer/core/memory-pools.ts
# cocos/core/renderer/scene/camera.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/render-scene.ts
# cocos/core/root.ts
# cocos/particle/billboard.ts
# cocos/terrain/terrain.ts
# cocos/ui/components/button.ts
# package-lock.json
# package.json
# tests/general/sealed-global-variables.json
2020-09-02 18:39:09 +08:00
pandamicro
3240dba206
Component rename for new standard and 2d compatibility ( #7103 )
...
* Rename ui related components
* Rename files
* Remove Useless errors
* Fix sealed names
* Fix sealed global variables
* Fix circular reference
* Refactor more component names
* Rename particle and animation related component
* export scene and models sub module in renderer
* Rename ModelComponents to Model
* Refactor LightComponents to Light
* Refactor CameraComponent to Camera
* Refactor ConstraintComponents to Constraint and rename physics comps
* Cleanup and fix issues
* Small fixes
* Refactor Model to MeshRenderer
* Final touch
* Fix data class export
* Better deprecation to cover all old usage
* Simpler and better deprecation with js.setClassAlias
* Fix ci
* Fix editor issue
2020-09-02 15:31:49 +08:00
cary
95ab0362a7
Add serialized data synchronization for pipeline. ( #7236 )
...
* Add pipeline jsb binding.
* Add serialized data synchronization for pipeline.
* fix ci
* delete legacy
* fix ci
* delete legacy forwardPipeline
2020-08-31 11:34:06 +08:00
cary
7eacd78c0d
Merge planar shadow and shadow map. ( #7185 )
...
* Merge planar shadow and shadow map.
* fix comment
* modify shadows name
* fix ci
2020-08-24 20:21:08 +08:00
cary
c08d84d11e
Revert scene global. ( #7181 )
...
* Revert scene global.
* fix ci
2020-08-19 23:41:38 +08:00
cary
a6c536ec38
Move global data of scene to pipeline. ( #7109 )
...
* Move global data of scene to pipeline.
* fix some code judgments.
* fix pipeline save error
* refine skybox and fog info
* fix planer shadow
* fix fog error
* delete setter of skybox and fog
2020-08-17 23:08:59 +08:00
Yun Hsiao Wu
dfc3d141f2
GFX Descriptor Set ( #7101 )
...
* gfx: descriptor sets
* gfx: descriptor set, singular
* better structure
* adapt upper layers: first pass
finally all compiler errors cleared.
OKAY IT'S HAPPENING EVERYBODY STAY THE ****ING CALM
* adapt upper layers: second pass
THERE AND BACK AGAIN
* unified light pass & shadow shader
* gfx: descriptor set & pipeline layout
* light pass: better structure
* light pass: dynamic uniform
* even more type checking for memory pools
* Fix particleSystem and lineComponent.
* delete comment
* guard pool init param
* Fix trail module error.
* delete space
* light pass: instancing & batching support
* don't polyfill gfx stuff inside EffectAsset
* better light pass structure
* fix spot light culling
Co-authored-by: caryliu <caryliu1999@gmail.com >
2020-08-13 18:21:15 +08:00
cary
7d77ea3dde
Modify pipeline resourceization. ( #7067 )
...
* Modify pipeline resourceization.
* change to call setRenderPipeline only once.
2020-08-07 12:10:03 +08:00
Yun Hsiao Wu
afeb83e9a6
native pools ( #7028 )
2020-08-04 14:14:56 +08:00
Knox
0ffa00f2cc
add safe area component for 3d-tasks/issues/3760 ( #7020 )
...
* add safe area component for 3d-tasks/issues/3760
* refine
* add cc.SafeAreaComponent to sealed-global-variables.json
* add canvas-resize event
2020-07-31 08:46:49 +08:00
ChiaNing
abbdae70c0
webview remove ( #6700 )
2020-05-25 17:51:54 +08:00
Yun Hsiao Wu
45d182308b
GPU instancing support ( #6300 )
...
* instancing works
* misc opts
* material.setproperty typing
* baked skinning model instancing works
* fix isNormalized
* custom chunk rules injection framework
* profiler instance count
* seperate custom joint textures
* fix joint mapped buffers
* WebGL 1 doesn't allow int attributes
* should rebuild instances after pso change
* set instance attribute
* constants naming
2020-03-12 10:21:19 +08:00
Lelie Leight (李的序)
a95b1915cb
Add test to ensure no more stuffs are added to global variable 'cc' ( #5844 )
2019-12-05 15:27:07 +08:00