PP
73673aba9e
fix native module building for separate engine ( #12251 )
...
* fix native module building
* fix typedoc
2022-07-28 18:55:14 +08:00
PP
810de3fe68
support number type of engine constant ( #12012 )
...
* add constant type for number
* support number type of build time constant
* publish 4.3.11
* update test
* support genCCEnvConstants && publish 4.3.12
* NET_MODE is public, SERVER_MODE is private
* update deps
* fix exportDynamicConstants
* update test
* publish 4.3.14
* update deps
* support JIT is not dynamic
* update lock
2022-07-21 23:33:44 +08:00
Santy-Wang
629d788596
Output friendly information about effect name ( #12137 )
...
* Output friendly information about effect name
* Apply suggestions from code review
Co-authored-by: pandamicro <lphuabin@gmail.com >
2022-07-21 23:05:53 +08:00
Ling Zhan
811ed11bfa
default physics material useing internal asset : default-physics-mate… ( #11855 )
...
* default physics material useing internal asset : default-physics-material.pmtl. todo: Project Setting's physics material config need to use this asset too. (#12662 )
* support set default physics material value from project setting panel. It will effect the packaging processing, and scene loading(todo). this value will not be saved to default-physics-material.pmtl.
* fix physics-system unit test failure: physics system 's constructAndRegister() will directly init default physics material if the default physics material asset is ready
* minor modification of PhysicsSystem::_updateMaterial
2022-07-21 10:37:15 +08:00
李吉林
debd809319
crop occlusion query ( #11990 )
...
* crop occlusion query
2022-07-14 19:32:47 +08:00
李吉林
59401edc52
fix debug-renderer build warning ( #11957 )
2022-07-13 14:22:35 +08:00
Zhang mingzhen
b32830a3e8
V3.6.0 batcher2d to native ( #11592 )
2022-07-08 17:10:48 +08:00
PP
42b385c19f
set NOT_PACK_PHYSX_LIBS to false ( #11857 )
2022-07-05 18:21:03 +08:00
PP
cb15b27dd8
add internal constant NOT_PACK_PHYSX_LIBS ( #11847 )
2022-07-05 15:25:58 +08:00
Santy-Wang
7bc135e1c7
adjust initialization process ( #11143 )
...
* adjust init process
* fix bugs
* restructure
* tweak
* delete useless code
* fix ci
* support more platform and fix some bugs
* mark internal
* tweak
* add docs
* add docs and little adjustment
* fix bugs
* adjust decorator execute order
fix mesh error
* fix bugs
* revert some change
* revert auto-generated code
* revert auto-generated code
2022-07-03 21:16:09 +08:00
李吉林
f3be7666a2
crop geometry renderer & debug renderer ( #11752 )
2022-06-29 17:16:17 +08:00
hyde zhou
fd245ff4f4
cull web custom pipeline ( #11756 )
...
* cull web custom pipeline
2022-06-29 16:50:10 +08:00
James Chen
fcebfcb1b9
[JSB] Fix some performance issues for 3.6.0 branch ( #11523 )
...
* [JSB] Fix wrong path of pipeline-state.ts in cc.config.json which causes pipeline-state.jsb.ts takes no effect.
* [JSB] Optimize MeshRenderer.setInstancedAttribute for native. Avoid to generate temporary JSB objects.
* [JSB] Optimize se::Object::getArrayLength.
* Reorder typedarray type in Object::getTypedArrayType, check Float32Array first since we use Float32Array and unsigned integer much more frequently.
* More std::vector.reserve in InstancedBuffer.cpp & Model.cpp
* Update stack size to 64 bytes for array in js_Model_setInstancedAttribute
2022-06-16 13:56:38 +08:00
PP
4531e180b2
publish build-engine 4.3.10 ( #11478 )
...
* publish build-engine 4.3.9 && support native API docs
update lock
update
* publish 3.4.10: fix generating comment on top level of namespace
* fix test CI
2022-06-14 22:31:51 +08:00
PP
1c737b91fd
optimize Constants in engine ( #11464 )
...
* publish build-engine 4.3.5
* update build-engine deps
* remove default-constants.ts
ds
remove de
* delete consts.d.ts
* support build-const workflow
* remove EXPORT_TO_GLOBAL
* update comment
* fix interface-check
* update comment
2022-06-14 16:14:34 +08:00
PP
7f889a1a78
support ConstantManager ( #11392 )
...
* support ConstantManager
update
* add unit test for ConstantManager
handle Escape in unit test
* fix `gulp build-h5-source`
* publish
* update deps
update lock
* update unit test
* merge ConstantManager into StatsQuery && merge cc.config.json
update
* make dynamic ccGlobal optional
* publish 4.3.2 and update deps
* export StatsQuery
* export some interface
* update deps
2022-06-10 13:35:46 +08:00
李吉林
d45e70bd52
move font builtin resource from 3d to base ( #11009 )
2022-05-10 10:09:52 +08:00
minggo
84c27e7f71
Merge branch 'v3.5.0' into v3.6.0_merge_v3.5
2022-04-24 13:41:27 +08:00
李吉林
f195f7dd2d
add spline ( #10684 )
...
* add spline
2022-04-11 15:49:20 +08:00
pandamicro
ed3723b000
Fix native module override ( #10709 )
2022-04-09 09:44:48 +08:00
minggo
a6bf766170
Merge branch 'v3.5.0' into v3.6_merge_v3.5
2022-03-29 18:26:40 +08:00
李吉林
6c935352dd
geometry renderer refactor ( #10444 )
2022-03-22 17:44:39 +08:00
李吉林
8b611affa2
V3.6.0 font debug profiler ( #10387 )
...
* add Font&DebugRender&Profiler
* add profiler for metal
* fix profiler review problem
2022-03-21 11:41:54 +08:00
李吉林
d793157a71
add dynamic mesh ( #10291 )
...
* add dynamic mesh
* Mesh init refactor
* fix geometry renderer bug
* dynamic mesh review update
* MeshUtils refactor
* do not export createDynamicMesh
2022-03-16 16:55:49 +08:00
Leslie Leigh (李的序)
93b856b98e
Make animation module optional ( #10257 )
2022-03-10 11:55:11 +08:00
hyde zhou
86ef5443e6
V3.6.0 pipeline ( #10146 )
...
* add custom render pipeline
* adding render pipeline jsb
* turn off clang-format
* tojs ini generation added
* adding render pipeline interface
* add interface
* refactoring interface
* add math
* format
* adding jsb
* revert include rule
* jsb added
* interface updated
* inheritance added
* remove dependency
* fix cleanPath namespace
* impl moved to render::impl
* remove remove_cvref_t
* enum renamed
* expects ensures renamed
* parameter name changed
* member name format changed
* impl cleaned
* functions renamed
* clang-format on
* impl cleaned
* overloaded renamed
* make range renamed
* VertexOverloaded renamed
* fix sevalue_to_native, use function specialization
* remove nodiscard
* Pipeline Builders renamed
* fix js enum naming bug
* add web pipeline
* add auto generation guard
* add descriptor interface
* fix layout name
* add DescriptorHierarchy
* LayoutGraphData renamed
* impl updated
* fix initialization
* fix member initialization
* fix GraphImpl this->
* this-> removed
* this-> removed
* Tag type renamed
* add license
* fix tag init
* rename
* layout graph renamed
* layout graph updated
* cntr updated
* adding descriptor hierarchy
* add present pass
* update jsb
* add layout graph
* change setter inheritance
* fix web-pipeline diamond inheritance problem
* cleanup
* change namespace
* adding layout graph
* add external resource type
* add factory
* adding native pipeline
* custom pipeline added
* adding UuidGraph
* uuid graph added
* adding pipeline runtime
* add uuid contains, rename addressable
* pipeline interface changed
* rendergraph completes filtering and dependencies
* Change the residency judgment
* RenderTexture changed to RenderWindow
* adding PipelineRuntime
* adding pipeline wrapper
* fix link error
* remove createPipelineRuntime
Co-authored-by: GengineJS <476393671@qq.com >
2022-03-02 13:41:15 +08:00
James Chen
17d4957e49
Only use cpp version of BuiltinResMgr now. ( #10063 )
2022-02-08 10:45:32 +08:00
zheng han
bd4db672cb
V3.6.0 scene view native ( #10044 )
...
* 1. export pipeline in native
2. remove some editor useless code
* Add Editor Camera native data synchronization
* fix crash: native model is destroyed but not removed from renderscene (#9543 )
Co-authored-by: lijilin <jilin.li@cocos.com >
(cherry picked from commit 3d1ac52a26 )
* refactor preview code
* fix model preview function
* fix deserialize bug
* fix JSB error
* change default value of HTML5
* fix jsb.CCObject problem
* fix ts error
* Fix eslint in misc
Co-authored-by: zhengxiangkui <476393671@qq.com >
Co-authored-by: 李吉林 <798080536@qq.com >
Co-authored-by: pandamicro <lphuabin@gmail.com >
2022-01-28 16:53:49 +08:00
minggo
7b1b5363c1
use native ProgramLib in native environment ( #9992 )
2022-01-17 15:10:24 +08:00
minggo
e80251eae6
Codes for native ( #9920 )
2022-01-11 17:30:18 +08:00
Leslie Leigh (李的序)
6583b7c780
Hide animation graph asset creation API in runtime ( #9491 )
2021-10-15 15:23:23 +08:00
ChiaNing
9e4bafcbdd
fix custom material bug ( #9482 )
...
* fix custom material bug
* change material default value
2021-10-14 10:30:09 +08:00
Leslie Leigh (李的序)
f34ffcbfbc
Support module overrides without compiliation in dev mode ( #9480 )
...
* Support module overrides without compiliation in dev mode
* Update render-config.json
2021-10-14 10:30:08 +08:00
媛媛
9353275f72
[3.4.0] Add UI_GPU_DRIVEN flag in cc.config ( #9367 )
...
* update flags
* update flags
2021-09-29 22:26:44 +08:00
GengineJS
434249da19
Modify the math library ( #9163 )
...
* Modify the math library
* fix ci
2021-08-12 10:59:09 +08:00
jiaxin.lai
9e7f40d4cb
let pack physx libs optional ( #9046 )
2021-07-23 13:45:08 +08:00
Leslie Leigh (李的序)
4cb8eeeffd
Support CCONB asset loading ( #8996 )
...
* Support CCONB asset loading
* Lint
* Optimize
2021-07-18 22:54:16 +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
e58499bb3f
Merge branch 'v3.2.0' of https://gitlab.cocos.net/publics/engine into v3.3-merge
2021-06-22 16:59:04 +08:00
GengineJS
2315b4d2dd
Pipeline memory pool removed ( #8738 )
2021-06-02 17:23:02 +08:00
jiaxin.lai
f58bcd2536
enable physx in preview ( #8717 )
...
* enable physx in preview
* remove source map to avoid oom
2021-05-26 17:40:05 +08:00
jiaxin.lai
f01c3b3053
override physx instantiate in jsb ( #8709 )
...
* fix set damping
* override physx instantiate in jsb
2021-05-25 18:41:41 +08:00
PP
86f20da0f0
support pal/input ( #8472 )
...
* support pal/input
update
* update
* fix esLint
* support minigame
* support pal/input on minigame
* remove minigame.isSubContext
* support native
update
* deprecate static property on EventMouse
* deprecated static property in EventTouch
* remove TODO
* remove x y position in MouseWheel Event
* remove TODO
* remove temp code
* fix esLint
* update AccelerometerIntervalMode
* remove legacy code in JSB
* fix esLint
* optimize AccelerometerInputSource.setInterval
* fix esLint
* optimize code
* add more details for documentation
* update
* don't pass game.canvas to inputManager.registerSystemEvent
* optimize
* Revert "remove x y position in MouseWheel Event"
This reverts commit b521ec4948d693b420887cdeb2f5f3afc1500066.
# Conflicts:
# @types/pal/input.d.ts
* update
* fix esLint
* fix esLint
2021-04-19 16:24:42 +08:00
PP
9bb4c4f8ea
support pal/system ( #8441 )
...
* support pal/app
update
update
* remove 'QQ_PLAY' and 'FB_PLAYABLE_ADS'
* rename system
update
* rename Language
* update
* update
* bind function in Game.ts
* rename system
* support system.getBatteryLevel()
* support pal/system on native
* support pal/system on minigame
* update
* fix esLint
* fix Circular dependency
* fix esLint
* use math/Size
2021-04-15 11:00:54 +08:00
PP
cd7e644694
implement audio on pal ( #8255 )
...
* Update logo in README
* add pal/audio
* deprecate property
* support wechat game AudioPlayer
* unify minigame interface
* optimize module name
* support native audio
# Conflicts:
# @types/jsb.d.ts
* add runtime platform
* fix module
* support build native virtual module
update
update
* update module name
* remove jsb-audio.js
* revert @rollup/plugin-alias
* add quickCompiler field in cc.config.json
* fix audio can't stop when paused
* fix esLint & ci
* fix ci
update
* update ccConfigJson
* add NOTE
* readonly maxAudioChannel
* add description for interface OneShotAudio
* volume range
* range for seeking
* loadNative return Promise<unknown>
* remove quickCompile field in cc.config.json
Co-authored-by: pandamicro <lphuabin@gmail.com >
Co-authored-by: Jare Guo <jareguo@users.noreply.github.com >
2021-03-25 14:30:13 +08:00
jiaxin.lai
6728263167
update physics group during runtime ( #8148 )
...
* update physics group during runtime
* change default to ammo
* add physx module
* add physics_physx i18n
2021-01-16 11:36:28 +08:00
Leslie Leigh (李的序)
df6e37dc4e
Add physics framework/physics 2d framework feature ( #8086 )
2021-01-06 16:36:46 +08:00
Santy-Wang
45b452d392
refine 3.0 dragon-bones native sdk ( #8035 )
2020-12-28 16:19:07 +08:00
Santy-Wang
ad4bff3988
Restructure Module ( #7968 )
...
* module restructure
* refine
* restructure module
* merge
* revert
* fix ci
* update import path of unit-test
* split 2d and ui
* add more module
* change audio adapter
* rename primitive
* config wechat plugin
* merge
* add category config
* merge
* merge
2020-12-24 19:07:26 +08:00
owen
f811378b7f
3.0 spine native sdk adapter ( #7999 )
2020-12-24 10:25:34 +08:00