Commit Graph

4804 Commits

Author SHA1 Message Date
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
江战 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
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
troublemaker52025 cc9f23ce25 fix no shadow scene error for v3.3.1 (#3879) 2021-09-10 14:26:44 +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
Yun Hsiao Wu d4441705e6 unify gfx resize event (#3875) 2021-09-09 16:00:21 +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
江战 6a553f105b 3.3.1 fix mac crash (#3873) 2021-09-09 13:58:03 +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
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
timlyeee ad048dff55 Change Windows Simulator from X86 to X64 (#3866)
* change simulator version from x86 to x64
* Fix some bugs for x64 version simulator
2021-09-07 09:58:52 +08:00
江战 9d264d289d fix ws crash (#3869) 2021-09-07 09:58:23 +08:00
江战 9675c4fbd0 V3.3.1 fix api 30 crash (#3867) 2021-09-07 09:47:56 +08:00
Yun Hsiao Wu 2134db8c4e fix fg exec storage (#3865)
* fix swapchain resize

* fix fg exec storage
2021-09-06 15:28:57 +08:00
江战 f0091e6bed 3.3 remove attribute __object_id__ by default (#3864)
* disable object id by default

* fix linter
2021-09-03 16:26:53 +08:00
Cocos Robot a44fe63ae7 [ci skip][AUTO]: updating jsbinding automatically: 46976eff (#3862)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-09-02 20:00:46 +08:00
troublemaker52025 46976eff2d Shadow culling for v3.3.1 (#3810) 2021-09-02 19:34:51 +08:00
Zeqiang Li ee6ab09e96 metal drawable udpate (#3858) 2021-09-02 11:07:38 +08:00
Yun Hsiao Wu 47305ec5c5 GL: smarter framebuffer cache (#3860) 2021-09-01 20:47:54 +08:00
江战 5c8713cbc6 return string (#3855) 2021-09-01 16:00:24 +08:00
mmyduckx ae02dfc02e remove old icon format in cmake (#3856)
* remove icon in cmake

* add camke config for AppIcon
2021-09-01 15:20:02 +08:00
Cocos Robot 692a08973c [ci skip][AUTO]: updating jsbinding automatically: f049a58a (#3854)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-09-01 09:34:34 +08:00
mmyduckx f049a58ae2 update icon for all platforms and Appsimulator (#3853) 2021-08-31 19:46:25 +08:00
Yun Hsiao Wu da2f03ff73 gfx: swapchain refactor (#3751)
* gfx: swapchain

* acquire/release/surface on swapchain

* fix swapchain texture creation

* acquire/present back on device

* formats are swapchain-specific

* swapchain: vk works

* enable device agent

* format fix

* update gfxdef

* fix enum decl

* pipeline adapt

* minor

* vk: compress attr locations directly in SPIR-V

* gles3 adjust

* InputAssembler owns an DrawInfo

* gles2 adapt

* texture keep track of its hash

* device cached states

* format

* glslang finalize

* buffer view adapt

* fg: subpass support

* minor

* 3.4 adapt

* profiler adapt

* buffer update frequency detection

* minor

* base commit

* swapchain works on metal

* spirv

* mtltexture issue

* remote test code

* depthtexture

* revert ifdef USE_METAL

* ios swapchain header

* fix some triple buffer issues

* resize accept surface transform

Co-authored-by: Zeqiang Li <Zeqiang-li@outlook.com>
2021-08-31 19:40:32 +08:00
timlyeee 0a742ad421 Fix issue for android bug (#3852)
* https://forum.cocos.org/t/topic/119306/142
2021-08-26 16:48:46 +08:00
Yun Hsiao Wu 98e8cc4b3e vk: fix descriptor release (#3850) 2021-08-25 14:12:57 +08:00
jiaxin.lai 02b04f47eb more strict for physx api (#3846) 2021-08-25 09:58:11 +08:00
minggo 675c6a16e7 Merge pull request #3848 from cocos-creator/v3.3.0
V3.3.0
2021-08-23 09:46:02 +08:00
minggo 02710af9d8 Merge pull request #3847 from cocos-creator/v3.3.1
V3.3.1
2021-08-22 16:42:46 +08:00
江战 64666cc52a [bugfix] fix deadlock cocos-creator/3d-tasks#8736 (#3845) 2021-08-21 14:57:41 +08:00
Santy-Wang 69eca07b53 fix physX crash (#3843) 2021-08-21 13:43:43 +08:00
minggo 0782c15243 Merge pull request #3842 from cocos-creator/v3.3.0
merge V3.3.0
2021-08-21 11:39:32 +08:00
江战 ae1b73cf05 load font with full url (#3841) 2021-08-21 09:45:10 +08:00
ChiaNing b1098ca5b5 fix batch passes bug when not reset (#3840) 2021-08-20 11:38:51 +08:00
Yun Hsiao Wu 7d98fc09dc fix ES2 R16F suport (#3839) 2021-08-19 18:22:47 +08:00
Yun Hsiao Wu 6759192f56 fix command buffer validator cache (#3837) 2021-08-17 18:41:38 +08:00
jk20012001 36a52f932b fix spotlight shadow matrix, lineardepth, packing mode, selfbias error (#8483) (#3834)
* fix spotlight shadow matrix, lineardepth, selfbias error (#8483)
2021-08-17 17:27:46 +08:00
mmyduckx ee51acb623 sync 3rd to 3.4 (#3836) 2021-08-17 11:58:45 +08:00
李吉林 81167fbfbf V3.4.0 20210816 (#3835)
* memory leak detector
* memory leak detector for mac&io
2021-08-17 09:25:11 +08:00
minggo d261e62ecc merge v3.3.0 and fix conflict 2021-08-13 22:28:13 +08:00
timlyeee 256910d137 Update config.json (#3829)
FIX ISSUE https://github.com/cocos-creator/3d-tasks/issues/8671
2021-08-13 21:01:38 +08:00
Cocos Robot 1ebd05f215 [ci skip][AUTO]: updating jsbinding automatically: cf0a79b9 (#3827)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-08-13 16:55:21 +08:00