Commit Graph

59 Commits

Author SHA1 Message Date
minggo 313c58fe33 Improve utils api doc (#13922) 2022-12-28 15:04:56 +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
江战 046a2b1378 Re-impl CC_ASSERT & CC_ASSERTF (#13588) 2022-12-05 17:12:30 +08:00
李吉林 13d49b1a9b fix mesh merge error (#13639)
* fix mesh merge error

* add log.h for android

* fix DebugRenderer update on metal
2022-12-05 10:18:22 +08:00
minggo d77afc3f06 Revert "Hide destructor (#13105)" (#13121)
This reverts commit b5804b58c8.
2022-10-21 18:55:32 +08:00
minggo b5804b58c8 Hide destructor (#13105)
* hide Image destructor

* hide HttpRequest destructor

* hide TextureBufferPool destructor

* hide gfx::Buffer destructor
2022-10-20 16:35:23 +08:00
James Chen c7e60d2bcb Use swig to generate js bindings (#12410) 2022-08-16 10:48:12 +08:00
minggo d40b8739bc Merge branch 'v3.6.0' into develop_merge_v3.6 2022-07-18 10:38:14 +08:00
minggo 3e818c45c9 Change macro name (#11528)
* CC_PLATFORM_MAC_IOS -> CC_PLATFORM_IOS

* CC_PLATFORM_MAC_OSX -> CC_PLATFORM_MACOS

* add codes to keep compatible
2022-06-16 14:05:16 +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
李吉林 3457292707 refactor exit process (#10880)
* refactor exit process

* add override

* fix geometry-renderer missing in deferred pipeline

* invoke destroy directly

* fix ESLint error

* add -misc-static-assert for clang-tidy
2022-04-27 14:59:23 +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
minggo cb1234b63a Revert "fix memory leak (#10804)" (#10823)
This reverts commit 3374c7e41c.
2022-04-21 13:52:20 +08:00
李吉林 3374c7e41c fix memory leak (#10804) 2022-04-20 14:43:02 +08:00
李吉林 f195f7dd2d add spline (#10684)
* add spline
2022-04-11 15:49:20 +08:00
minggo cd48cf7106 Replace CCASSERT with CC_ASSERT (#10682)
* replace CCASSERT with CC_ASSEERT
2022-04-10 16:03:46 +08:00
minggo 4a0ec21a02 use the same logic to alloc aligned memory on android (#10642)
* use the same logic to alloc aligned memory on android
2022-04-06 14:13:00 +08:00
Cocos Robot a2df4e4dbd [ci skip][AUTO]: Automated clang-format update: 771de57fc2c1edbaaf3ae94e77f9801b0379cc6c (#10469) (#10472)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-24 13:50:39 +08:00
minggo 7f4cb9e3b1 Remove string (#10469)
* replace std::string with ccstd::string
2022-03-24 11:53:10 +08:00
minggo ccc84b06b6 replace std::unordered_map with ccstd::unordered_map (#10459)
* replace std::unordered_map with ccstd::unordered_map
2022-03-23 16:44:06 +08:00
minggo 4ef2fdea21 repalce std::map with ccstd::map (#10442) 2022-03-22 18:05:31 +08:00
minggo 2379892c02 Unify stl (#10427)
* replace std::deque and std::queue
* replace std::unordered_set
* replace std::queue, std::deque and std::unordered_set
2022-03-22 14:00:36 +08:00
Cocos Robot 24d84664f8 [ci skip][AUTO]: Automated clang-format update: 3de15842004cba2142ec0fecd82876d8f6a28236 (#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
李吉林 8b611affa2 V3.6.0 font debug profiler (#10387)
* add Font&DebugRender&Profiler

* add profiler for metal

* fix profiler review problem
2022-03-21 11:41:54 +08:00
minggo 1cd206f531 cc::Object do not inherit from cc::RefCounted (#10251) 2022-03-07 17:43:06 +08:00
minggo aca0a1bccb Remove memory management (#10125)
* remove NedPooling

* remove Jealloc

* remove some macros

* move memory related macros into Memory.h

* delete MemTrack
2022-02-22 18:12:48 +08:00
minggo 7f24f34b22 Merge branch 'v3.5.0' into v3.6_merge_v3.5.0 2022-01-25 19:52:06 +08:00
minggo f08555248f fix conflict 2022-01-24 17:23:03 +08:00
Yun Hsiao Wu 14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +08:00
minggo 5410a48a58 Implement more logic in native (#4131)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
Co-authored-by: dumganhar <dumganhar@gmail.com>
Co-authored-by: mmyduckx <308303735@qq.com>
Co-authored-by: Patrice Jiang <397136899@qq.com>
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com>
2022-01-07 18:39:40 +08:00
Zeqiang Li 4b1422a7f3 event init & mem align (#4116) 2021-12-21 11:08:11 +08:00
Yun Hsiao Wu 5524b5c5d4 nx adaptation framework (#4050) 2021-12-14 15:04:57 +08:00
minggo ac7418f1c1 fix conflict 2021-11-30 10:48:30 +08:00
oahcy 5379e6ef35 引擎适配linux平台 (#4035) 2021-11-29 17:17:15 +08:00
李吉林 bed27fcccf V3.4.0 occlusion query2 (#3975)
* occlusion query
Co-authored-by: lijilin <jilin.li@cocos.com>
2021-10-13 18:21:03 +08:00
minggo ea980f509c merge v3.3.2 2021-09-24 12:38:10 +08:00
江战 5074a5a826 V3.4.0 usec++14 (#3898)
This reverts commit fff4cc8fc94fb9b1a8424a2b89e9966184c6c4ce.
2021-09-18 13:53: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
江战 1bac46bb23 Use c++14 by default (#3880) 2021-09-13 10:41:27 +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 cf0a79b98a add ogre license (#3825) 2021-08-13 16:38:33 +08:00
minggo aa522396a3 CC_INLINE to inline (#3664) 2021-06-28 16:41:13 +08:00
Yun Hsiao Wu e1c240f2d0 Clang-Tidy adaptations (#3379)
* gfx: CommandBuffer.draw accept DrawInfo

* clang-tidy config

* tidy adapt

* enable function name check

* better workflow
2021-04-12 09:41:28 +08:00
minggo d8824f8a11 fix coding style (#3371) 2021-04-02 09:55:12 +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
Yun Hsiao Wu e0fdfef054 license upgrader 2021-02-05 14:08:22 +08:00
pandamicro ec5401aed9 Merge remote-tracking branch 'origin/v3.1' into device-proof
# Conflicts:
#	CMakeLists.txt
#	cocos/cocos2d.h
#	cocos/platform/ios/Application-ios.mm
#	cocos/platform/ios/View.h
#	cocos/platform/mac/Application-mac.mm
#	cocos/renderer/core/gfx/GFXDevice.h
#	cocos/renderer/gfx-metal/MTLCommandBuffer.h
#	cocos/renderer/gfx-metal/MTLCommandBuffer.mm
#	cocos/renderer/gfx-metal/MTLContext.mm
#	cocos/renderer/gfx-metal/MTLDevice.h
#	cocos/renderer/gfx-metal/MTLDevice.mm
#	cocos/renderer/gfx-metal/MTLFence.h
#	cocos/renderer/gfx-metal/MTLFence.mm
#	cocos/renderer/gfx-metal/MTLQueue.h
#	cocos/renderer/gfx-metal/MTLQueue.mm
#	cocos/renderer/gfx-metal/MTLUtils.mm
#	cocos/renderer/gfx-vulkan/VKGPUObjects.h
#	templates/template-link/common/CMakeLists.txt
#	tools/tojs/metal.ini
2021-01-28 19:50:53 +08:00
minggo 0386bed212 fix audio code format (#3212)
* fix audio code format

* format base files
2021-01-13 13:38:07 +08:00
Yun Hsiao Wu 6a935a7129 virtual top node for tbb job graph 2021-01-11 17:12:43 +08:00