Files
cocos4/native
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
..
2021-07-29 10:39:17 +08:00
2021-04-12 14:49:25 +08:00
2021-07-29 10:39:17 +08:00
2021-08-31 19:40:32 +08:00
2021-08-31 19:40:32 +08:00
2021-05-19 16:36:16 +08:00
2021-08-17 11:58:45 +08:00
2021-08-17 09:25:11 +08:00
2021-08-13 22:28:13 +08:00
2021-08-31 19:40:32 +08:00
2021-08-03 13:57:39 +08:00
2020-06-18 14:12:04 +08:00
2021-04-12 09:41:28 +08:00
2021-07-13 14:07:47 +08:00
2021-01-14 14:36:37 +08:00
2021-06-24 15:15:18 +08:00
2021-08-31 19:40:32 +08:00
2021-05-27 13:53:40 +08:00
2021-04-22 14:37:48 +08:00

engine-native

Build Status

It is the native backend of Cocos Creator. It works on iOS, Android, Mac OS and Windows.

Coding format and coding style

The coding format file is .clang-format, and the coding style fomat file is .clang-tidy. Please use clang-format to format the codes and use clang-tidy to fix the coding style before commiting codes. See the linter auto-fix guide for more information.

Documentations

How to start a new game

You can refer to the documentation to start a new game.

Build Requirements

  • macOS 10.14+, Xcode 11.5+ to build mac games
  • with iOS 12.0+ to build iOS games
  • or Windows 7+, Visual Studio 2017 15.7+ / Visual Studio 2019 to build win32 games
  • NDK 18-21 is required to build Android games (22+ is not supported)
  • Python 2.7+ (NOT Python 3) is needed to run scripts
  • Cmake 3.8+ is required

Where to get help

Contributing to the Project

engine-native is licensed under the MIT License. We welcome participation!