Commit Graph

17466 Commits

Author SHA1 Message Date
李吉林 dde11834bc fix frustum culling (#9330)
Co-authored-by: lijilin <jilin.li@cocos.com>
Co-authored-by: minggo <nudtzxm@gmail.com>
2021-09-17 13:39:31 +08:00
Cocos Robot b2a6448c7d [ci skip][AUTO]: updating jsbinding automatically: 3d1b6f98 (#3896)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-09-17 11:52:12 +08:00
Yun Hsiao Wu 48686f1301 update effects (#9339) 2021-09-17 11:42:26 +08:00
Yun Hsiao Wu 3d1b6f9835 misc fixes (#3895) 2021-09-17 11:42:19 +08:00
李吉林 fa210fa955 add octree scene manager (#3891)
* add octree scene manager
Co-authored-by: lijilin <jilin.li@cocos.com>
2021-09-17 11:20:05 +08:00
Yun Hsiao Wu c4fcb7c547 should update flat buffer when material changes (#9338) 2021-09-17 10:07:44 +08:00
江战 3b77662e87 fix double conversion (#3892) 2021-09-16 18:33:51 +08:00
Yun Hsiao Wu 427ff1254c instance buffer allow different strides (#9329) 2021-09-16 17:39:37 +08:00
zxx43 f78395cd90 V3.4 performance (#9191)
* use start rotation as euler in shader

* do calculate start rotation once

Co-authored-by: Santy-Wang <wh19930829@qq.com>
2021-09-16 17:12:17 +08:00
zxx43 3dcc271494 V3.4.0 align (#9236)
* add particle align

* init update align

* update shaders

* add align with view

* check camera layer

* check editor camera

Co-authored-by: Santy-Wang <wh19930829@qq.com>
2021-09-16 17:02:47 +08:00
timlyeee 2da31bdd80 Update jsb_conversion.h to fix issue (#3890)
Issue from https://github.com/cocos-creator/3d-tasks/issues/9202, a simple way to get rid of char* judgement
2021-09-16 16:55:48 +08:00
zhakesi cc3fa2a0b0 fix spine not be packed in, jsb error (#9334)
Co-authored-by: Santy-Wang <wh19930829@qq.com>
2021-09-16 16:53:50 +08:00
Santy-Wang 8b949169ac adjust buffer memory usage (#9326)
Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-09-16 16:27:17 +08:00
Yun Hsiao Wu 56038db50a gfx: states store hashes (#9325)
* gfx: states store hashes

* profiler uses fixed viewport
2021-09-16 10:28:27 +08:00
Yun Hsiao Wu 1016f7d609 should trigger update when set instance (#3888) 2021-09-16 10:23:29 +08:00
Yun Hsiao Wu 89131fad2d GL: better subpass support (#3887)
* vk: better subpass dependency deduction

* GL: better subpass support

* uint -> uint32_t

* officially make viewport/scissor dynamic by default

* gfx: states store hashes

* gfx: defend against usages after destroy
2021-09-16 09:43:26 +08:00
timlyeee 3e6730c0ad Fix swapchain resize issue. (#3886)
* Fix swapchain resize issue.

* If the new surface created by resize event is using the same address with the one store  in context, error occurs
* Should set to EGL_NO_SURFACE when destroy the original surface

* NOLINT for function size
2021-09-15 17:08:58 +08:00
Zeqiang Li 3e28c2821a api min required -> ios 10.0 (#3885)
* ios 10 alignas
* ios 10 api
2021-09-15 16:03:12 +08:00
PP ccd505ad14 migrate Engine Input Event into PAL (#9320)
* optimize input module

* rename

* fix CI

* update input-box.d.ts
2021-09-15 13:51:38 +08:00
J.C 677599de35 2 subtle improvements (#9318)
* add an optional parameter `out`

* no need to create temp function when clear the `targetTexture`
2021-09-14 18:28:59 +08:00
江战 a4b215cd7a [3.4.0] fix bigint conversion (#3882)
* fix bigint

* Update cocos/bindings/manual/jsb_conversions.h
2021-09-14 16:10:41 +08:00
Santy-Wang cf3e10b6c4 sync some unit test from 2.4 (#9321)
* add unit test

* add more unit test

* refine

* add test

* add more unit test

* add more unit test

* more change

* add commit

* add unit test

* commit package-lock.json

* revert some

* refine code

* add more test

* fix bugs

* fix bugs
2021-09-13 19:05:39 +08:00
Jackie0110 01b45dbc11 - fix spine rotation in cache mode (#3884)
Co-authored-by: Viet <>
2021-09-13 17:17:18 +08:00
江战 1bac46bb23 Use c++14 by default (#3880) 2021-09-13 10:41:27 +08:00
ChiaNing 8be1785d8d fix mask graphics enable bug for android (#9317) 2021-09-11 10:35:40 +08:00
jiaxin.lai 5c6567f59e bullet physics optimization (#9311)
* stash

* stash

* stash

* use @cocos/bullet

* rename

* stash

* update constraint

* naming

* naming

* naming

* naming

* fix

* use compound by default

* stash

* fix

* rename and raycast

* refactor

* add state optimazation

* tweaks

* tweaks

* stash

* rename

* wechat wasm file path

* using promise

* remove @cocos/ammo

* i18n bullet(ammo.js) -> bullet

* tweaks

* update @cocos/build-engine to 4.2.11

* fix sync

* fix autosleep mechanism

* fix stability test

* fix destroy bullet world

* tweaks

* update @cocos/bullet to 1.0.0

* fix

* delete
2021-09-10 16:35:56 +08:00
PP 8188d27405 fix npm install (#9315) 2021-09-10 16:35:04 +08:00
troublemaker52025 cc9f23ce25 fix no shadow scene error for v3.3.1 (#3879) 2021-09-10 14:26:44 +08:00
Santy-Wang 8dfe080d8c Merge pull request #9308 from holycanvas/v3.4-sync
sync v3.3.1
2021-09-10 11:19:06 +08:00
pandamicro 99e5085532 Revert GLES_ANTIALIAS (#9313) 2021-09-10 11:10:33 +08:00
Santy-Wang 5a6b56b095 avoid destroy twice (#9310) 2021-09-09 18:30:52 +08:00
minggo 43fba39022 Merge pull request #3877 from cocos-robot/update_js_bindings_1631174923
[ci skip][AUTO]: updating jsbinding automatically: d4441705
2021-09-09 17:39:23 +08:00
minggo b1976329df Merge pull request #3874 from minggo/merge_v3.3.1
Merge v3.3.1
2021-09-09 17:29:35 +08:00
cocos-robot 4f4f06acc4 [ci skip][AUTO]: updating jsbinding automatically: d4441705 2021-09-09 08:08:44 +00:00
媛媛 968c01765d [Bug] fix save after add events in fbx (#9303) 2021-09-09 16:02:51 +08:00
Yun Hsiao Wu d4441705e6 unify gfx resize event (#3875) 2021-09-09 16:00:21 +08:00
Yun Hsiao Wu 79f6ec1fcf handle swapchain resize event (#9305)
* swapchain resize accept surface transform

* rt attachment should support read back
2021-09-09 16:00:02 +08:00
GengineJS cbaa9530ad Fix the crash of camera scene in testcase3d (#3876)
Co-authored-by: zhengxiangkui <>
2021-09-09 15:39:10 +08:00
ChiaNing a7716e4347 fix Fix label outline artifact on web platforms (#9307) 2021-09-09 15:32:19 +08:00
江战 6a553f105b 3.3.1 fix mac crash (#3873) 2021-09-09 13:58:03 +08:00
troublemaker52025 32ecb37d1d fix replceProperty error for v3.3.1 (#9306)
* fix replceProperty error for v3.3.1

* update
2021-09-09 13:48:14 +08:00
santy-wang c87577b809 Merge branch 'v3.3.1' of https://gitlab.cocos.net/publics/engine into v3.4 2021-09-09 13:33:35 +08:00
minggo f3049c0acb merge v3.3.1 to v3.4.0 2021-09-09 11:00:18 +08:00
troublemaker52025 e9cf6704b7 GLES2 using packing mode to render shadow map for v3.3.1 (#3872) 2021-09-09 10:25:59 +08:00
ChiaNing 9d4cb44c4a fix button scale bug (#9302) 2021-09-08 16:32:15 +08:00
ChiaNing 68c5a04416 fix mask graphics enable bug & update builtin res meta (#9301) 2021-09-08 16:30:21 +08:00
troublemaker52025 8c88f0cfe9 fix pcf type not display for v3.3.1 (#9300) 2021-09-08 15:47:12 +08:00
Cocos Robot 548be02785 [ci skip][AUTO]: updating jsbinding automatically: 627b02d3 (#3871)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-09-08 13:54:32 +08:00
timlyeee 627b02d3a5 Update config.json (#3870) 2021-09-08 11:40:25 +08:00
Leslie Leigh (李的序) 9977a398d8 Fix easing method serialization (#9299) 2021-09-07 18:52:35 +08:00