19 Commits

Author SHA1 Message Date
江战
c4be6be29d Fixes for GCC compatibility and Linux platform warnings (#14511)
* fix compile error on linux

* ignore more warnning

* move StringPool & StringEqual into StringPool
2023-03-09 09:45:22 +08:00
pandamicro
afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
James Chen
8f8924c3f4 fixed #10929: Hash computation in native engine causes loss of precision, use 32 bits hash for all platforms (#11179)
* fixed #10929: Hash computation in native engine causes loss of precision. Force use 32 bits hash for all platforms.

* More uint64_t -> ccstd:hash_t

* Some uint64_t -> uint32_t in SkeletalAnimationUtils.h/.cpp

* operator() return ccstd::hash_t now and add some comments.

* size_t -> ccstd::hash_t in StringPool.h, Font.h/.cpp
2022-05-25 13:54:57 +08:00
minggo
271cc5cf23 Remove some format rule (#10919)
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
minggo
444bfe31c4 Refactor CC_NEW/CC_DELETE (#10810)
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +08:00
Cocos Robot
997cd1044c [ci skip][AUTO]: Automated clang-format update: 3f0460bee6 (#10501) (#10536)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-28 11:53:36 +08:00
minggo
ee5636c573 Replace map with unordered_map (#10501)
* replace ccstd::map with ccstd::unordered_map
2022-03-28 11:49:17 +08:00
Cocos Robot
568b9b9910 [ci skip][AUTO]: Automated clang-format update: b5915aa03b (#10442) (#10448)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-22 18:12:49 +08:00
minggo
4ef2fdea21 repalce std::map with ccstd::map (#10442) 2022-03-22 18:05:31 +08:00
Cocos Robot
24d84664f8 [ci skip][AUTO]: Automated clang-format update: 3de1584200 (#10402) (#10424)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-21 16:04:49 +08:00
minggo
34bf14269c unify stl (#10402)
* add ccstd::vector
* replace cc::vector with ccstd::vector 
* replace std::vector with ccstd::vector
* do not include <vector>
2022-03-21 15:55:02 +08:00
Yun Hsiao Wu
14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +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
Yun Hsiao Wu
5c88f24b3f misc gfx & fg improvements (#3703) 2021-07-13 14:07:47 +08:00
cary
43c6e02f80 Fix noexcept error. (#3426)
* Fix noexcept error.
2021-04-19 17:46:59 +08:00
minggo
d8824f8a11 fix coding style (#3371) 2021-04-02 09:55:12 +08:00
Yun Hsiao Wu
acbd39ff55 move minimal jsb init into a separate header (#3314) 2021-03-12 09:56:04 +08:00
Yun Hsiao Wu
6b197934ff basic framegraph (#3303) 2021-03-11 11:15:09 +08:00
Yun Hsiao Wu
ea88ba33c6 codebase structure update (#3289)
* structure

* fix jsb auto binding license issue
2021-03-01 12:00:10 +08:00