Commit Graph

308 Commits

Author SHA1 Message Date
Yiwen 0a346b2fdd fix bufferview size limit (#15265)
* fix bufferview size limit

* update

* update

* update error msg

* [fix] add boundary to avoid physx assert error (#15321)

* change validation method
2023-06-07 23:01:01 +08:00
Yiwen fda480e960 Fix texture mipmaps with compression (#15277) 2023-06-06 18:51:51 +08:00
hyde zhou 43b4cb30f2 develop pipeline add subpass (#15166)
pr-test is not ready, skip it.
2023-06-01 10:39:20 +08:00
GengineJS 1ac38ea2ba Solve the texunits out-of-bounds problem of webgl1.0 (#15239) 2023-05-31 12:00:01 +08:00
Knox 606569f8b2 Fix the type definition warning problem of blendColor (#15194) 2023-05-25 20:08:33 +08:00
Knox 75a173bbab Fix wrong color type definition of blendColor in BlendStateEditor. (#15183)
* Fix wrong color type definition of blendColor in BlendStateEditor

* refine code
2023-05-25 15:25:00 +08:00
dogeFu faab7458eb fix : type error in pipeline-state.editor.ts (#15165) 2023-05-24 14:22:49 +08:00
dogeFu f222cb364a fix : pipeline-state's enum properties display incorrect in editor (#15153)
* fix : pipeline-state's enum properties display incorrect in editor

* 把类型拷贝一次,避免污染对外接口
2023-05-23 18:16:30 +08:00
hyde zhou 8a7586c925 [develop pipeline] add resolve (#15121) 2023-05-23 10:11:44 +08:00
tjunxin ca877208cb Clarify the error message when the device does not support webGL2 (#14951)
Clarify the error message when the device does not support webGL2,avoid confusion with the webGL error message.
2023-05-15 12:05:04 +08:00
hyde zhou 6cbad38241 pipeline changes after v3.7.3 (#14998) 2023-05-10 17:46:45 +08:00
黄森斌 b7d7a78d24 fix BlendTarget blendDst incorrect type declaration (#14768) 2023-05-09 11:55:32 +08:00
pandamicro 71a11a7a14 Merge remote-tracking branch 'origin/v3.7.3' into develop
# Conflicts:
#	.github/workflows/run_test_cases.yml
#	cocos/rendering/planar-shadow-queue.ts
#	native/cocos/renderer/pipeline/PlanarShadowQueue.cpp
2023-05-08 11:55:56 +08:00
Zeqiang Li ea55e3e9b2 hide misleading webgl error messages (#14940) 2023-04-27 21:54:13 +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
oahc09 879ca3da6e improve:extend external texture parameters and support external vkimage (#14732) 2023-04-14 15:41:52 +08:00
oahc09 9364cd56af improve:WebGL2CmdFuncCopyTexImagesToTexture add option to use gl.texImage2D (#14787) 2023-04-13 18:22:36 +08:00
minggo bcc581dfd7 Merge branch 'v3.7.3' into develop_merge_v3.7.3 2023-03-24 10:57:28 +08:00
Zach Lee 1ac6e923f8 fix webgl2 clear color issue on wechat mini game. (#14636) 2023-03-23 13:41:22 +08:00
PP 3cb698c8aa add more jsb interface info && fix some types (#14628)
* add jsb interface info

* mark TODO

workaround

* fix type

* remove some new ts-expect-error

* fix type in strict mode
2023-03-22 15:22:09 +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
mmyduckx 38c0ed4f95 add wechatprogram platform support (#14580)
* add wechatprogram platform support
2023-03-15 14:13:24 +08:00
PP cddfa8c47b cherry-pick: AOT: add jsb interface type (#14368) (#14544)
* cherry-pick: AOT: add jsb interface type (#14368)
2023-03-15 11:40:55 +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
zhakesi d88697e3a1 fix safari webgl2 maxUniformVector limit (#14508) 2023-03-09 11:02:56 +08:00
Zeqiang Li 1934fac5af remove webgl2 block on safari (#14400) 2023-03-01 14:21:44 +08:00
SijieWang 41015eb1a3 [GFX] Supplementary type definition (#13783)
* [GFX] Supplementary type definition

* review code

* review code
2023-02-27 18:46:45 +08:00
bofeng-song 882887cb9f support taobao mini game (#14324) 2023-02-22 10:34:17 +08:00
hyde zhou 8c612a3bbb [pipeline] add native pipeline ubo uploading (#14061)
* merge v3.7.0-pipeline

* pass done

* fix const reference return type

* add uniform block buiding

* fix const cast

* fix const

* fix mtl const

* integrating native program library

* native pipeline workflow updated

* adding ubo binding

* Solve the problem of the version attribute of pass (#87)

* ubo upload added

* adding camera ubo

* add constant name

* update uniform buffer

* adding execution resources

* per pass ubo added

* fix bugs

* ubo added

* fix render pass bug

* bind set added

* adding ubo uploading

* shader binding overwrite added

* shader binding overwrite added

* add missing header

* draw updated

* ubo updated

* fix main light ubo

* pass ubo added

* lint

* fix custom pipeline window resize issue. (#88)

* fix lint

* fix assert

* remove texture1d

* fix constantMacros

* lint

* fixed: native custom pipeline graphics pipeline state leak. (#89)

* lint

* skybox added

* skip subpass input binding rewrite (#90)

* per pass descriptor set modified

* adding blit

* fix material

* fix fg get usage (#91)

* fix barrier fetch

* fix ios bug

* fix barrier

* support cc builtin overwrite

* try fix shadowMap

* refactor resources

* update blit

* add render graph binding

* fix shader bugs

* fix blit

* fix bugs

* remove unnessary barriers

* fix init

* fix addCameraQuad

* fix raster view order

---------

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zach Lee <bluesky013@126.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2023-02-01 17:46:34 +08:00
hyde zhou 73d8004725 [pipeline] update custom pipeline (#13890) 2022-12-30 18:22:22 +08:00
zhakesi 999f3b1993 fix skinning model not show in wechat browser in ios (#13979) 2022-12-30 17:24:09 +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
Yiwen fe242f8633 Blit texture (#13831) 2022-12-16 14:36:06 +08:00
江战 f6854cd16e native introduce jsb.window (#13816) 2022-12-16 13:50:59 +08:00
Zeqiang Li e6e82206eb Shader process (#13719) 2022-12-09 10:57:16 +08:00
minggo 03b5d4c3fd Merge branch 'v3.6.3' into merge-v3.6.3 2022-12-08 15:46:09 +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
Zeqiang Li 3995071efd add imagebitmap for wgpu WGPU_CI_ON (#13313)
* add imagebitmap for wgpu

* wgpu eslint
2022-11-10 16:44:34 +08:00
Yiwen 214d6ac17f add a new method to obtain the glTexture handle (#13257) 2022-11-08 10:28:48 +08:00
santy-wang be5454309e Merge branch 'develop' of github.com:cocos-creator/engine into develop 2022-11-07 15:30:11 +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
santy-wang a8913f5f16 Merge branch 'v3.6.2' of github.com:cocos-creator/engine into develop 2022-11-07 14:19:59 +08:00
minggo 83a2717fac Fix module import (#13140)
* fix core module import style

* import murmurhash2_32_gc from core module

* do not export visibleRect
2022-10-25 16:38:38 +08:00
Yiwen f413ff7a9b Add a new class to manage a set of default device resources. (#12936) 2022-10-19 10:19:40 +08:00
Zeqiang Li ae26608e57 adapt to develop (#13070) 2022-10-18 10:56:26 +08:00
Yiwen 5bb8735c52 correct the texture memory statistcis (#12989) 2022-10-17 10:48:02 +08:00
Yiwen 3232007e9f Adapt ES/WEBGL to support 3d texture/2d array texture. (#12938) 2022-10-17 10:41:25 +08:00
santy-wang 91c884362d Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync 2022-10-11 20:12:14 +08:00