yangchao
5313b86ed1
feat: expose screen keep-on control ( #413 )
2026-11-18 17:28:15 +08:00
llsansun
2157fd176d
Multithreading ( #322 )
...
* worker pool
* opt
* backup
* worker and worker backend
* worker fallback
* opt
* opt
* remove meta
* opt
* worker export
* testcase fix
* worker js template
* worker pal
* worker opt
* test
* Replace error messages with error codes
* Package size reduction
* Package size reduction
* revert
* Restore editor asset .meta files to the base branch state
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_014HAtWwr4dy5azfpccweh1g
* bugfix
* Split into two features: Worker and Worker Pool
* worker option
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-29 16:35:14 +08:00
ChiaNing
f570c1f02d
feat(screen): configure Web DPR through startup settings ( #367 )
...
* feat(pal): declare startup maximum DPR configuration
Add an optional maximum DPR to screen initialization and readonly access to
the original DPR and explicitly configured cap. An omitted or null cap retains
the platform's existing policy.
This is the engine type contract for the staged PAL implementation. Public
Screen configuration methods and Native render-target integration remain
separate work; this commit does not change runtime rendering.
Validated against the PAL engine/four-platform contract check and full npm test
(65 source tests, 4 build tests, release/debug module validation).
* feat(screen): expose startup maximum DPR configuration
Allow applications to set, reset and read a pending maximum DPR before Screen
initialization while preserving platform defaults when unconfigured. Lock the
configuration at initialization and reject unsupported PAL implementations or
options that PAL silently ignores.
Add startup validation and compatibility tests. Only implementation and tests
are included; local documentation and generated validation artifacts remain
outside this commit.
Companion PAL commit: 2959778b7acf83dd84e3aab5957d60d80e20c461.
Native render-target integration, device acceptance, runtime changes and editor
configuration remain separate work.
Validation recorded on 2026-09-29: tsc --noEmit; 20 Screen and 6 View tests;
public declaration generation; real WebGL demo with simulated host DPR,
first-draw, input, reset, late-call rejection and resize checks. Screen source
SHA-256 still matches that verified build.
* fix(screen): restrict startup DPR configuration to Web
* fix(screen): ignore DPR cap calls on non-Web platforms
* fix(screen): preserve optional DPR types in native builds
* refactor(screen): configure Web DPR through startup settings
* refactor(screen): delegate DPR policy and validation to PAL
* style(screen): wrap fullscreen method signatures
* perf(screen): simplify startup DPR null checks
* version update
2026-10-22 19:15:17 +08:00
tangkai
e917b3c833
add interface of notifyMiniProgramPlayableStatus, setEnableDebug ( #2 )
...
* add interface of notifyMiniProgramPlayableStatus, setEnableDebug
* fix eslint error
2025-12-20 15:20:24 +08:00
tangkai
08f3e7bf7b
add interface for douyin live play feature ( #55 )
2025-12-20 10:26:30 +08:00
qiuguohua
36e6d0eb6d
Caching getSystemInfoSystem information in mini game platforms ( #18781 )
2025-08-21 10:30:36 +08:00
tangkai
74833b6325
387cancel hotupdate ( #18727 )
2025-05-22 18:56:34 +08:00
qiuguohua
c533f1379b
Fix code hints and add comments when using the google play interface. ( #18625 )
2025-04-22 16:44:28 +08:00
qiuguohua
949705bdcc
Support Google Play Achievement ( #18456 )
2025-03-13 22:08:31 +08:00
qiuguohua
f80ca2cceb
Implementation of google play auto login, achievements, PGS Recall API ( #18416 )
2025-03-09 23:34:12 +08:00
tangkai
b08a406d07
Support box2d JS binding which improves the performance of 2D physical system for native platforms . ( #18152 )
2025-02-24 19:22:06 +08:00
sunxunle
1524ae1db2
chore: remove redundant words ( #18215 )
...
Signed-off-by: sunxunle <sunxunle@ampere.tech >
2025-01-22 15:27:32 +08:00
qiuguohua
a670a91661
Optimizing google play implementation ( #18047 )
...
* Optimizing google play implementation
* Initializing member variables
* Remove redundant code
---------
Co-authored-by: qiuguohua <guohua.qiu@cocos.com >
2024-12-17 15:04:02 +08:00
qiuguohua
c2882db601
The google play billing interface is consistent with google's original interface ( #18010 )
...
The google play billing interface is consistent with google's original interface
---------
Co-authored-by: qiuguohua <guohua.qiu@cocos.com >
Co-authored-by: James Chen <dumganhar@gmail.com >
2024-12-12 18:23:38 +08:00
qiuguohua
deba073213
Integrate the Google Play Billing Library into engine ( #17918 )
2024-11-29 11:18:48 +08:00
GengineJS
92123fb9c4
Fix the error caused by the lag in the WebGPU API ( #17980 )
2024-11-28 12:01:56 +08:00
James Chen
888480783a
fixed #17866 : [bug] EventTouch.getUIDelta return wrong delta values on native platforms ( #17895 )
2024-11-21 15:36:01 +08:00
James Chen
32727868b0
Reduce the generated javascript code size ( #17491 )
2024-08-06 18:14:44 +08:00
GengineJS
cf85e35f13
support webgpu ( #17096 )
2024-06-12 09:24:10 +08:00
minggo
24f3f6583b
support mouse leave/enter envents ( #16886 )
2024-04-10 15:14:48 +08:00
James Chen
4ce3e6e64e
fixed #16562 : Wasm support for ByteDance minigame platform ( #16628 )
2023-12-20 09:54:54 +08:00
江战
7e459d2ab9
ADPF bindings ( #16445 )
2023-11-02 11:26:36 +08:00
oahc09
2928e74036
feat:support xr controller a/b/x/y/trigger/thumbstick touch event ( #16293 )
...
* feat:support xr controller a/b/x/y/trigger/thumbstick touch event
* fix:eslint problem
* refactor:add new enum/struct for touch event info
2023-09-26 14:32:23 +08:00
PP
9daf2c663c
upgrade nodejs to 18.17.0 ( #15899 )
...
* upgrade nodejs to 18.17.0
fix compile-native-ts
fix type
fix eslint
fix node version on native-binding
test native ci
fix eslint
fix jest version
upgrade ts-jest
fix
reduce EXPECTED_CAPACITY
update ccbuidl
Revert "test native ci"
This reverts commit 795c8c68cf7ff7f2561db4414689ad3f6aa5c1f7.
# Conflicts:
# scripts/native-pack-tool/package-lock.json
* detect node version
# Conflicts:
# package.json
* use engine-strict option
* Update .nvmrc
* Update pal/input/web/accelerometer-input.ts
* fix conflict
* fix compile native ts
* download external in compile native ts
* fix
2023-08-28 15:52:24 +08:00
Leslie Leigh (李的序)
3a470a6dff
Add utilities to check integrity of pal implementations ( #15694 )
...
* Add utilities to check integrity of pal implementation
* Fix screen adapter
* Fix game pad input
* Apply suggestions from code review
Co-authored-by: PP <chinese1236@qq.com >
* Add license
---------
Co-authored-by: PP <chinese1236@qq.com >
2023-07-13 14:18:53 +08:00
PP
649e81a7b2
optimize: ensure wasm module ready before importing ( #15631 )
...
* optimize: ensure wasm module ready before importing
* Update @types/pal/minigame.d.ts
* Update pal/wasm/wasm-minigame.ts
* use reject instead of warnning
* optimize: add promiseToLoadWasmModule
* add shouldUseWasmModule method to simplify code
* fix: subpackage loading on taobao minigame platform
* Update pal/wasm/wasm-minigame.ts
2023-07-06 15:34:31 +08:00
PP
870e356408
support fetchBuffer in pal/wasm module ( #15454 )
2023-06-18 16:38:44 +08:00
江战
8c41446e96
Add Android GPG keyboard & Mouse support ( #15385 )
...
* Add Android GPG keyboard & mouse support
2023-06-08 21:42:45 +08:00
qiuguohua
be5eae04f5
Add ‘screen.on’ interface to listen to screen-related events. ( #15080 )
...
* 1、Add ‘screen.on’ interface to listen to screen-related events.
2、Deprecate ‘setResizeCallback’ interface
* Modify comment errors
2023-05-17 17:36:54 +08:00
PP
0b353b6e14
feat: support general WASM module in engine ( #14974 )
...
* support pal/wasm module
pal/wasm
* support sys.Feature.WASM and WASM_SUPPORT_MODE
# Conflicts:
# pal/system-info/web/system-info.ts
# Conflicts:
# pal/system-info/web/system-info.ts
# Conflicts:
# pal/system-info/web/system-info.ts
* optimize bullet module
* update physx module
update
* revert tsconfig
* optimize WebGPU wasm import
* fix native wasm instantiate
* support wasm in EDITOR and PREVIEW
* optimize variable name
* update comment
* optimize code
* Update cocos/misc/webassembly-support.ts
* add physx wasm (#11 ) by yiwenxue
* add physx wasm
* update physx wasm instantiate.
* update, rename, etc.
* download external in CI
* fix physX wasm init
* move out external wasm type
* update external-config.json
* expand node max-old-space-size
* use console.debug
---------
Co-authored-by: Yiwen <15225434259xue@gmail.com >
2023-05-08 18:02:17 +08:00
minggo
a22d16bbe6
Merge branch 'v3.7.3' into merge_v3.7.3
2023-04-24 11:26:58 +08:00
fqamic
36b69d4fd7
engine support to webxr ( #14861 )
...
* feat: input support to webxr
1.new webxr gamepad event
2.new webxr handle pose event
3.support webxr hmd pose event
* feat: split the frameMove function to support xr readability
* feat:Add webxrFrameMove for webxr
* improve:xr stands for globalThis.globalXR
* improve(xr):format code
* fix: webxr gamepad update cache error
* fix: webxr gamepad update cache error
* fix: code naming error
* fix: update cache right gamepad data error
* improve: any is enough for any | undefined
* improve: modify interface PoseInfo and IGamepadCacheInfo
* improve: declare IGamepadCacheInfo
* fix: globalThis.__globalXR is undefined
---------
Co-authored-by: linyuanyi <1111>
2023-04-20 23:23:15 +08:00
PP
e01ac3ee05
add tracking issue for TODO item ( #14638 )
...
* issue 14637
* issue 14640: animation module
* issue 14642: serialize deserialize hack
* issue 7519: pal/image
* issue 14643: dynamic inject
* mark as NOTE
* issue 14644: native only
* issue 7512: pal/fs
2023-03-23 16:42:46 +08:00
PP
dcc0b8d52e
support SafeArray and SafeRecord to optimize type checking ( #14595 )
...
* support SafeArray and SafeRecord to optimize type checking
2023-03-22 10:19:39 +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
PP
386ec2895a
[cherry-pick] AOT-3: optimize uinstrict code ( #14315 ) ( #14523 )
...
* AOT: optimize uinstrict code
- mark some unstrict code as TODO
- remove some unstrict code
* update comment
* remove ts-check
# Conflicts:
# cocos/2d/framework/deprecated.ts
# cocos/asset/assets/image-asset.jsb.ts
# cocos/asset/assets/texture-base.ts
# cocos/core/assets/image-asset.ts
# cocos/core/math/rect.ts
# cocos/core/scene-graph/scene-globals.jsb.ts
# cocos/native-binding/impl.ts
# cocos/scene-graph/node-dev.ts
# cocos/scene-graph/scene-globals.ts
# exports/sorting.ts
2023-03-10 13:36:45 +08:00
James Chen
60efd41c26
Merge pull request #14330 from cocos/v3.7.2
...
Merges v3.7.2 to develop
2023-02-22 09:40:48 +08:00
qiuguohua
1a369a2f18
Fix the problem that pointerlock cannot move infinitely ( #14235 )
2023-02-19 17:21:12 +08:00
qiuguohua
ee86fc40bd
Native platform modifies exit process ( #14141 )
2023-02-15 17:11:28 +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
江战
f6854cd16e
native introduce jsb.window ( #13816 )
2022-12-16 13:50:59 +08:00
mmyduckx
2efe60a576
fix game.init assetDB-warning ( #13809 )
...
* fix game.init assetDB-warning
2022-12-14 14:31:14 +08:00
江战
cade7f10d4
JSB: bind some geometry types ( #13681 )
2022-12-07 14:26:32 +08:00
minggo
8d8c283b59
Merge branch 'v3.6.3' into merge-v3.6.3
2022-11-28 13:37:25 +08:00
fqamic
2316dc77c1
improve(xr):Rename Handset to Handheld ( #13558 )
...
Co-authored-by: linyuanyi <1111>
2022-11-28 11:30:27 +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
ycg
071ee7edb7
Merge branch 'v3.6.1-taobao' into v3.6.3
2022-11-23 14:10:14 +08:00
江战
7ccd14e6e6
JSB export math class : Vec2/Vec3/Vec4/Quat/Mat3/Mat4/Color ( #12968 )
2022-10-31 17:24:54 +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
徐兵
120d7fe959
add reflection probe ( #13155 )
2022-10-27 15:36:56 +08:00