Commit Graph

57 Commits

Author SHA1 Message Date
dogeFu 09e000266d feature : add EDITOR_NOT_IN_PREVIEW marco (#15354)
* feature : add marco for editor preview and refactor code with new marco

* refactor: replace GAME_VIEW with EDITOR_PREVIEW

* Revert "refactor: replace GAME_VIEW with EDITOR_PREVIEW"

This reverts commit e28953e9e7acbb49dc5bdc650b2ff65510d4b084.

* update cc config json

* refactor code

* remove uselese parentheses

* set ccglobal to be false

* skip global variable test case
2023-06-07 17:52:51 +08:00
bofeng-song 08063379f3 support splash for taobao & refine code (#15136)
* support splash for taobao & refine code
2023-05-23 09:41:16 +08:00
ChiaNing 4f9f7b63dd change splash screen log position (#15017) 2023-05-11 10:54:02 +08:00
minggo 1c40656d9d remove duplicated doc (#14926) 2023-05-06 10:26:43 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
pandamicro d9772b03c3 Merge pull request #14724 from cocos/v3.7.2
V3.7.2
2023-04-06 14:03:27 +08:00
PP a909e69982 update OH template for esmodule and ts engine compile (#14714) 2023-04-04 09:28:57 +08:00
minggo bcc581dfd7 Merge branch 'v3.7.3' into develop_merge_v3.7.3 2023-03-24 10:57:28 +08:00
minggo 80a81478e9 support fixed delta time (#14605)
* support fixed delta time

* use frameTime as fixed delta time
2023-03-22 10:20:36 +08:00
PP fa51b804b5 remove and ban @ts-expect-error (#14572)
* remove ts-expect-error usage in engine

* deprecate Scheduler interface

* remove JavaScriptCore

* set some engineInternal public property as getter setter

* fix build-declaration

* fix releaseManager export name conflict

* update scriptEngineType

* fix and update some comment

* remove  w_mat, w_pos, w_rot, w_scale

* update renderer

* fix setRootBufferDirty not binding on native

* optimize floatToHashString

* mark NOTE
2023-03-20 13:48:26 +08:00
Zeqiang Li d807b3ab59 advance auto barrier behavior on legacy pipeline (#14593) 2023-03-15 21:59:00 +08:00
minggo cbadcf20f5 Merge pull request #14576 from cocos/v3.7.2
V3.7.2
2023-03-15 11:05:16 +08:00
santy-wang 0a81bf445e Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2 2023-03-13 16:51:47 +08:00
hyde zhou 6ed4719968 pipeline update (#14486)
* adding queue phase

* adding per phase descriptor set

* adding render phase descriptor set

* Optimize memory usage and rendering time of WebPipeline (#106)

* Pass ubo execution optimization (#107)

* adding compute shader

* add compute shader

* add compute dispatch

* add compute shader

* adding subpass

* add dummy web subpass builder

* remove present pass

* remove present pass

* adding subpass to RenderGraph

* fix unit test

* lint fix

* fix lint

* adding raster subpass

* native subpass builder added

* Complete render phase to layoutgraph (#108)

* rename RasterTag to RasterPassTag

* rename ComputePass to Compute

* subpassGraph added

* add shading rate attachment

* fix typo

* RenderSwapchain default constructible

* Optimize Execution Memory (#110)

* add storage buffer/texture support

* add storage buffer and shading rate texture

* fix lint

* fix typo

* V3.7.2 pipeline (#109)

* fix merge conflict

---------

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2023-03-09 17:57:05 +08:00
bofeng-song 9a86d8fb11 support splash for taobao mini game (#14497) 2023-03-07 16:31:55 +08:00
PP 713e29e168 fix: failed to execute plugin script in editor extend plugin on simulator (#14423)
* fix: failed to execute plugin script in editor extend plugin on simulator

* add error listener
2023-03-01 17:46:43 +08:00
oahc09 b8ffbf34fb improve:uniform xr splash screen display effect (#14416) 2023-03-01 13:45:03 +08:00
Zeqiang Li 71b764ad0d frame fence (#14310) 2023-02-28 17:43:38 +08:00
bofeng-song 882887cb9f support taobao mini game (#14324) 2023-02-22 10:34:17 +08:00
qiuguohua ee86fc40bd Native platform modifies exit process (#14141) 2023-02-15 17:11:28 +08:00
Zhou Zhenglong 2b54f20d0a Merge branch 'v3.7.1' into v3.7.2-merge 2023-02-13 00:47:24 +08:00
hyde zhou a6f5c2ef5e refactored custom-pipeline initialization (#14176) 2023-02-08 16:23:11 +08:00
hyde zhou 52bccdf738 [pipeline] refactor custom pipeline init (#14040) 2023-02-01 18:00:52 +08:00
Santy-Wang 75ba0aa8d5 add more api docs (#13937)
* print the engine version

* refine docs

* refine docs

* refine docs

* add more docs

* fix some error

* add pipeline and task docs

* refine

* refine

* fix d.ts error

* refine and add uuid getter

* fix syntax

* refine link
2023-02-01 17:51:30 +08:00
minggo 32c08e73f9 merge container-manager.ts and scalable-container.ts (#14107)
* merge `container-manager.ts` and `scalable-container.ts`
* rename `ContainerManager` to `ScalableContainerManager`
* rename `containerManager` to `scalableContainerManager`
2023-02-01 14:12:46 +08:00
hyde zhou 857004bc00 [pipeline] refactor custom pipeline init (#14040) 2023-01-13 14:02:46 +08:00
pandamicro 0a8dc371b2 Merge branch 'v3.7.0' into v3.7.1 2023-01-10 14:58:57 +08:00
Santy-Wang e2a04dd7bd add more api docs (#13937)
* print the engine version

* refine docs

* refine docs

* refine docs

* add more docs

* fix some error

* add pipeline and task docs

* refine

* refine

* fix d.ts error

* refine and add uuid getter

* fix syntax

* refine link
2023-01-10 12:00:45 +08:00
hyde zhou e11bdf5775 [pipeline] update custom pipeline (#14002) 2023-01-07 12:30:44 +08:00
bofeng-song 19ffc349b6 Make audio be independent of core module (#13948) 2022-12-29 15:32:08 +08:00
fqamic 1f928364f4 fix some xr devices stretch when splash-screen logo and add handle device key (#13915)
* fix: some xr devices stretch when splash-screen logo

* feat: xr handle device support button menu and button start
2022-12-28 11:56:35 +08:00
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
江战 f6854cd16e native introduce jsb.window (#13816) 2022-12-16 13:50:59 +08:00
bofeng-song c1256393ea support pause all audio while call game.pause (#13739)
* support pause all audio while call game.pause
2022-12-08 17:47:12 +08:00
hyde zhou aa7c8940ba [pipeline] refactor program-lib.ts, pass.ts (#13610) 2022-12-08 16:33:57 +08:00
ChiaNing 49b822107b Refix splash screen misc (#13717)
* fix splash screen misc

* fix

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-12-08 14:50:54 +08:00
pandamicro e2e96f251b Magic ts dependency fix for animation asset loading issue (#13729) 2022-12-08 10:20:51 +08:00
fqamic 51bd9bd705 fix: the orthogonal camera does not apply the xr fov parameters correctly (#13727)
* fix: the orthogonal camera does not apply the xr fov parameters correctly, resulting in the inability to focus under different IPDs.

* fix: code format abnormal
2022-12-08 09:50:59 +08:00
pandamicro 313a1032b7 Separate present time from renderer time in profiler (#13684) 2022-12-06 18:24:02 +08:00
Santy-Wang 2357e51b57 print the engine version (#13658) 2022-12-05 16:30:19 +08:00
媛媛 bf035a36c6 enable splash screen in preview (#13581) 2022-11-30 14:27:55 +08:00
minggo b541d2aefb fix compiling error 2022-11-28 14:18:41 +08:00
minggo 8d8c283b59 Merge branch 'v3.6.3' into merge-v3.6.3 2022-11-28 13:37:25 +08:00
fqamic d4055f7e32 new basic capabilities of supporting handset ar and webxr (#13420)
* feat: add the basic capability of handset ar native

* feat: add handset input device, for ar camera pose

* feat: native pack tool supports xr platform name

* feat: web gl context supports webxr

* feat: webxr has been converted to screen coordinates via camera

* fix: pr ts-expect-error undefined xr

* feat: support webxr, and remove ar redundant code

* fix:xr-spaces gradlew permission error

* feat: revert redundant ar engine feature

* fix: eslint check error

* feat: remove redundant code

* fix: eslint check warning

* adjust armodule process in forward stage, mtl texture and jsb

* fix: exlint warning, and add license

* adjust ar lib and interfaces

* change webxr check interface

* merge external arlib header and move it to engine

* improve: update native external version

* move ar background stage to xr/rendering and move its init to webxr device in xr plugin

* fix format error

* fix format error

* adjust jsb_ar_manual, ARModule, ARBackground

* adjust arbackground

Co-authored-by: Parryzhai <1306895355@qq.com>
Co-authored-by: MoHai <1192652394@qq.com>
2022-11-24 13:33:50 +08:00
ChiaNing dbb49498aa splash screen change (#13429)
* some splash code

* splash layout

* draw bg

* name change

* fix splash

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-11-23 16:08:55 +08:00
hyde zhou 92f2d08f52 [develop] update layout graph loading (#13368) 2022-11-18 13:43:18 +08:00
fqamic 71314f0e81 merge xr platform function codes (#13360)
* feat: add xr settings for xrEnv and xrType

* improve: remove redundant code for xr interaction

* improve: remove redundant code for frameMove

* fix: xr jsb bind adapt to swig

* feat: adapt to xr preview mode, add handle simulation event
2022-11-14 17:12:25 +08:00
minggo 7294de16f6 Adjust core import (#13230)
* fix import style of core module
* fix decorator usage
2022-11-07 15:01:31 +08:00
ycg 827a3f0640 Fix: Update the implementation of the supportWebp on minigame. (#13165)
* Fix: Update the implementation of the supportWebp on minigame.
Optimize: Adjust the initialization of the System-info module.

* Add return type of the sys-init function.

* Add try-catch to _supportsWebp method
2022-10-28 10:44:16 +08:00
minggo a354281d7e Fix core import issue (#13148)
* import binarySearchEpsilon from core module

* remove unused files

* import easing from core module

* use array instead

* do not export MutableForwardIterator

* do not export binarySearchBy

* print deprecated information in runtime
2022-10-26 15:19:26 +08:00