Commit Graph

17466 Commits

Author SHA1 Message Date
Yun Hsiao Wu 2984594f96 gfx: onAcquire callback (#4038) 2021-11-11 10:15:26 +08:00
Zeqiang Li b415b43cfb reorganize internal commandbuffer (#4042)
* reorganize mtlcmdbuffer

* remove debug label
2021-11-11 10:12:51 +08:00
黄森斌 1a03cd1f0b fix render-texture edit (#9635) 2021-11-10 23:02:27 +08:00
Myway 836aa99122 fixed error when terrain component deleted and undo set terrain asset (#9646) 2021-11-10 22:52:30 +08:00
GengineJS 8386790150 Restore part of pipeline code (#4040) 2021-11-10 15:37:29 +08:00
jk20012001 4f3d85ab78 Fix fog macro->function arguments type error (#9637)
* Fix fog macro->function arguments type error
Fix fog color linear conversion

* Fix eslint warning
2021-11-10 14:31:09 +08:00
GengineJS 1d0fadb6f4 Restore part of pipeline code (#9644) 2021-11-10 13:46:49 +08:00
PP ab69d20027 Revert "deprecate ENABLE_WEBGL_ANTIALIAS (#9626)" (#9645)
This reverts commit 5ffc4482cd.
2021-11-10 11:27:51 +08:00
mmyduckx c7924301a0 add M1 arch PhysX support (#4041)
* add M1 arch PhysX support

* update tag
2021-11-10 09:34:46 +08:00
Zeqiang Li 9e215bd39b mac memless compile issue (#4037) 2021-11-09 09:59:50 +08:00
Leslie Leigh (李的序) 3b4892ef41 Fix typing on Node.getComponent(3) (#9634) 2021-11-05 18:39:21 +08:00
jk20012001 f488ea0bb1 Fix initialize function override mip levels(groundalbedo.w) (#9633)
* Fix initialize function override mip levels(groundalbedo.w)

* Code style
2021-11-05 17:51:00 +08:00
jk20012001 7ad092a260 Fix: linear color conversion without alpha channel (#9620)
* Fix: linear color conversion without alpha channel

* Code style
2021-11-05 15:22:23 +08:00
Zhang mingzhen ef3d4a9884 Optimize label serialization of "spacingX" and "underlineHeight" (#9629)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-11-05 14:07:45 +08:00
Zhang mingzhen 60cae28a26 Optimize label serialization of "spacingX" and "underlineHeight" on v3.4 (#9628)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-11-05 14:07:09 +08:00
PP d39ce3d3d8 support preventSwallow on EventMouse && EventTouch (#9621)
* support swallowedByTopNode on EventMouse && EventTouch

* experimental

* deprecation

* revert deprecate touch

* use swallowEvent

* update

* use preventSwallow
2021-11-05 14:04:54 +08:00
Leslie Leigh (李的序) 309af621ec Fix typing on Node.getComponent(2) (#9632)
* Fix typing on Node.getComponent() (#9622)

* Fix typing on Node.getComponent()

* Update

* Fix typing on Node.getComponent
2021-11-05 14:03:31 +08:00
timlyeee c38c8255b6 sync push (#4034) 2021-11-05 13:32:54 +08:00
PP 5ffc4482cd deprecate ENABLE_WEBGL_ANTIALIAS (#9626)
* deprecate ENABLE_WEBGL_ANTIALIAS

update

* remove deprecation usage
2021-11-05 10:40:51 +08:00
Zeqiang Li a09180243c buffer binding and rt-read-pixel rendering issue (#4033)
* buffer binding and rt-read-pixel rendering issue

* another solution
2021-11-05 10:31:47 +08:00
zxx43 fbdc0ef287 add renderCulling tool tip (#9619) 2021-11-04 23:16:14 +08:00
PP dea48a404c remove DPR hack on vivo platform (#9625) 2021-11-04 23:07:48 +08:00
Leslie Leigh (李的序) 41f81a5ca9 Revert "Fix typing on Node.getComponent() (#9622)" (#9627)
This reverts commit 34ace04e9f.
2021-11-04 23:06:44 +08:00
Leslie Leigh (李的序) 34ace04e9f Fix typing on Node.getComponent() (#9622)
* Fix typing on Node.getComponent()

* Update
2021-11-04 18:04:57 +08:00
timlyeee 6f652286e4 Missing Symbol for v8 in low level android (#4032)
* Missing Symbol for v8 in low level android

* license

* move ohos symbol to cpp
2021-11-04 13:59:05 +08:00
ChiaNing fd20b561be remove GPU_DRIVEN flag (#9617) 2021-11-04 12:44:24 +08:00
alpha 643444d597 Fix color.fromHex function can't set alpha to zero (#9614) 2021-11-04 12:33:08 +08:00
黄森斌 5f36cbdfff export BindableNumber from animationApi (#9615) 2021-11-04 12:12:25 +08:00
Yun Hsiao Wu fa1ad1eee6 pass owns instanced/batched buffer (#9605)
* pass owns instanced/batched buffer

* no zero-sized buffer

* fix effect default content
2021-11-04 12:08:07 +08:00
zxx43 a897c04885 deprecate enableCulling (#9616) 2021-11-04 12:03:44 +08:00
zxx43 b12d9cac59 Fix tooltip mistake (#9603)
* fix doc mistake

* modify some description

Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-11-04 00:13:47 +08:00
W-MTZing f535925cb7 fixed Cocos play getting Webgl error (#9609) 2021-11-03 23:53:57 +08:00
zxx43 02094d319c Change enable culling to render culling & replace enable culling as data culling (#9611)
* remove enable culling & use render culling instead

* fix setter
2021-11-03 23:52:33 +08:00
zhangxin f3d04f76c0 Refactor particle system render culling (#9613)
* enableCulling to data Culling

* Update particle-system.js
2021-11-03 23:52:14 +08:00
Leslie Leigh (李的序) c961d105f3 Triggers should be only reset when a motion state arrived (#9612)
* Triggers should be only reset when a motion state arrived

* Code

* Fix
2021-11-03 19:43:53 +08:00
GengineJS 911e3bdb95 Calculate shadingscale when initializing framebuffer (#9608) 2021-11-03 18:36:14 +08:00
Leslie Leigh (李的序) 48dbbe3293 Respect to wrap mode of animation clip (#9607) 2021-11-03 16:43:19 +08:00
PP 14a34d2c17 reset currentTime when stop native audio (#9604) 2021-11-03 16:41:34 +08:00
Yun Hsiao Wu c4827857ad gfx: import from pal/system-info directly (#9595) 2021-11-03 13:49:32 +08:00
Santy-Wang d1964d4752 remove animation of primitive (#9602) 2021-11-03 12:00:25 +08:00
Zhang mingzhen 6c661a5758 supplement docs of atlasmanager (#9590)
* supplement docs of atlasmanager #9522

* optimize docs.

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-11-03 10:36:52 +08:00
江战 f143270e6b fix symbol (#4028) 2021-11-02 19:28:50 +08:00
GengineJS ad63b94fc4 Remove the updatebuffer operation inside renderpass (#4026)
* Remove the updatebuffer operation inside renderpass

* Change postprocessstage texture usage

* ia default value
2021-11-02 19:28:10 +08:00
timlyeee 9471249a02 Add ENABLE_SANDBOX option (#4029)
Add option for compile step
2021-11-02 19:25:46 +08:00
pandamicro d184f5817b Small tweaks (#9599)
* Make scene._renderScene protected

* Fix removed property access
2021-11-02 18:28:21 +08:00
Zeqiang Li 68d508abbd fix iphone 5s compile issue (#4027) 2021-11-02 17:41:27 +08:00
zhakesi 7e8c6639de revert fix skinning instancing animation (#9598) 2021-11-02 14:36:31 +08:00
zxx43 6fc7c87e99 Pause format (#9596)
* remove format error

* remove useless return statements
2021-11-02 11:52:20 +08:00
Leslie Leigh (李的序) 1aa683493f Fix prefer local time span default value display (#9597) 2021-11-02 11:48:39 +08:00
ChiaNing ab711df60b cut batcher-2d file by cc.config (#9587)
* cut batcher-2d file by cc.config

* name fix
2021-11-02 11:43:57 +08:00