Files
cocos4/native
hyde zhou 3ae4b8c928 fix metal crash problem (#14186)
* deferred custom pipeline running cyberpunk on metal (#92)

* Fix the problem that csm shadowmap does not render the picture (#94)

* remove manual descriptor registration

* fix redundant barrier generated:layout dependency but not access dependency (#93)

* fix redundant barrier generated:layout dependency but not access dependency

* missing part

* Revert "Merge branch 'v3.7.1-cyberpunk2' of https://github.com/star-e/cocos-engine into v3.7.1-cyberpunk2"

This reverts commit 3a95b55991b1eed21df8b927213dd78aaa585892, reversing
changes made to be8d52a74b1e8a27599767cdf2b1639c8ecbf11c.

* fix missing descriptor sets

* buffer size (#96)

* Revert "Revert "Merge branch 'v3.7.1-cyberpunk2' of https://github.com/star-e/cocos-engine into v3.7.1-cyberpunk2""

This reverts commit 690e121936cae6bce4194d0f67a69636117268b3.

* fix assert

* fgd pass culling logic fix (#97)

* buffer size

* fgd pass culling logic fix

* old unit test

* fix batcher2d

* fix dereference freed pointer

* Bloom pipeline adds ui and deferred pipeline to fix ui rendering problems (#98)

* add native ui rendering

* add skinning constants

* Fix the problem that the deferred pipeline does not render transparent objects and shadows (#99)

* Fix the problem that the profiler does not render (#100)

* fix typo

* update ds logic (#101)

* metal coord (#102)

* refactor profiler

* fix shadow caster bug

* remove unnecessary validation

* disabled over-aligned memory allocation

* add native version

* Optimize the display mode of profiler (#103)

* remove profiler later, generator is not changed yet

* refactoring persistent render pass and framebuffer

* refactored persistent render pass and framebuffer

* format

* revert change

* fix invalid framebuffer bugs

* refactored custom pipeline initialization

* add pipeline statistics

* depth stencil state & attachment validate (#104)

* Revert "depth stencil state & attachment validate (#104)"

This reverts commit c75de8d83295ca387d7f4a7206f411e94ac0a884.

* add default phase comparison

* Revert "add default phase comparison"

This reverts commit 4910790081e961e258db269ceb2542e6ebd13062.

* try fix uniform buffer upload

* generator updated

* lint

* buffer upload command (#105)

* fix lint

---------

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: GengineJS <476393671@qq.com>
2023-02-14 21:21:33 +08:00
..
2022-12-29 15:55:28 +08:00
2023-02-14 21:21:33 +08:00
2022-12-28 15:04:56 +08:00
2023-02-14 21:21:33 +08:00
2022-10-28 15:44:33 +08:00
2020-06-18 14:12:04 +08:00
2022-05-04 13:09:24 +08:00
2022-12-07 14:40:39 +08:00
2022-12-07 14:40:39 +08:00
2022-04-18 10:24:54 +08:00
2021-01-14 14:36:37 +08:00

cocos-engine native part

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

Coding format and coding style

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

Build Requirements

  • Xcode 11.5+ to build mac games
  • or Visual Studio 2017 15.7+ / Visual Studio 2019 to build win64 games
  • NDK 21-22 is required to build Android games (23+ is not supported)
  • Cmake 3.8+ is required

System Requirements

  • macOS 10.14+
  • iOS 11.0+
  • iOS Simulator 13.0+
  • 64-bit Windows 7+
    • with vulkan 1.0 to 1.2 if want to run with vulkan
  • Android 4.4+
    • Android 7+ if want to run with vulkan

Use C++17.

These C++17 features are tested and supported by all platforms

The following features are not supported

  • std::optional is not supported by iOS 11.

Other C++17 features are not tested.