Commit Graph

49 Commits

Author SHA1 Message Date
徐兵 4d35600c7b Reflection probe support blend (#14734) 2023-04-12 19:06:21 +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
徐兵 0605e99098 reflection probe support instancing for native engine (#13483) 2022-11-23 00:16:05 +08:00
hyde zhou d33798f895 [develop] update native pipeline (#13270) 2022-11-11 22:51:31 +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
jk20012001 4ad23f2193 fix submeshes have different instancing options (#12786) 2022-09-23 16:55:04 +08:00
James Chen cb4b0014ed Fix crash if closing app in surface shader test case. (#11896) 2022-07-08 19:19:35 +08:00
hyde zhou cedc01c575 use uint32_t instead of uint (#11598)
* use uint32_t instead of uint
2022-06-18 18:47:45 +08:00
James Chen fcebfcb1b9 [JSB] Fix some performance issues for 3.6.0 branch (#11523)
* [JSB] Fix wrong path of  pipeline-state.ts in cc.config.json which causes pipeline-state.jsb.ts takes no effect.

* [JSB] Optimize MeshRenderer.setInstancedAttribute for native. Avoid to generate temporary JSB objects.

* [JSB] Optimize se::Object::getArrayLength.

* Reorder typedarray type in Object::getTypedArrayType, check Float32Array first since we use Float32Array and unsigned integer much more frequently.

* More std::vector.reserve in InstancedBuffer.cpp & Model.cpp

* Update stack size to 64 bytes for array in js_Model_setInstancedAttribute
2022-06-16 13:56:38 +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: 3f0460bee6caa9fcac9629e2ef18ee4ea08b3656 (#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: b5915aa03b753a6e67f09d03980608e3cdce2887 (#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
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
minggo ea980f509c merge v3.3.2 2021-09-24 12:38:10 +08:00
Yun Hsiao Wu 1016f7d609 should trigger update when set instance (#3888) 2021-09-16 10:23:29 +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
troublemaker52025 a2e3831839 fix instance vb memory leak for v3.3.0 (#3695) 2021-07-13 11:02:36 +08:00
江战 3590ca722c 3.3 bugfix instance color (#3653) 2021-06-24 18:22:31 +08:00
江战 1ee3707307 3.3 fix instance crash (#3645) 2021-06-24 14:08:36 +08:00
cary d77dbb3a53 implement scene management in native(#3584) 2021-06-02 17:22:33 +08:00
troublemaker52025 97ea27b812 Add Linear depth for nativeEngine in v3.1 (#3404)
* fix native-engine for linearDepth
2021-04-19 14:55:45 +08:00
cary 59f9881e58 Optimize the performance of the memory pool. (#3414) 2021-04-19 09:37:47 +08:00
mmyduckx 5ef2ab11bf Fix more warings (#3396) 2021-04-15 09:40:29 +08:00
minggo 115573eef3 fix link error 2021-03-15 18:42:19 +08:00
minggo f6a0c82941 fix conflict 2021-03-15 17:24:16 +08:00
troublemaker52025 e5f454b579 fix planar shadow instanced error for v3.0.1 (#3299) 2021-03-04 17:12:48 +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 d0fb6d5281 fix format 2021-02-05 16:41:01 +08:00
Yun Hsiao Wu e0fdfef054 license upgrader 2021-02-05 14:08:22 +08:00
minggo a728537098 add license (#3165) 2020-12-29 11:25:30 +08:00
coulsonwang 3956223365 fix pipeline define (#3045) 2020-11-19 09:11:37 +08:00
Yun Hsiao Wu 41716168b3 fix instance buffer dynamic 2020-11-09 15:30:12 +08:00
coulsonwang eb864cb29f fix additive light queue (#2941) 2020-10-23 20:52:20 +08:00
Yun Hsiao Wu fb791ad01b discrete descriptor set layout bindings (#2920) 2020-10-20 15:06:57 +08:00
coulsonwang f490f68120 Fix instance buffer (#2911) 2020-10-15 09:54:36 +08:00
coulsonwang 2513f68f20 fix 2020-08-18 09:37:53 +08:00
coulsonwang b5bb1487ca fix SubModelView and PassView
# Conflicts:
#	cocos/renderer/pipeline/BatchedBuffer.cpp
#	cocos/renderer/pipeline/BatchedBuffer.h
#	cocos/renderer/pipeline/InstancedBuffer.cpp
#	cocos/renderer/pipeline/InstancedBuffer.h
#	cocos/renderer/pipeline/PipelineStateManager.cpp
#	cocos/renderer/pipeline/PipelineStateManager.h
#	cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp
#	cocos/renderer/pipeline/RenderAdditiveLightQueue.h
#	cocos/renderer/pipeline/RenderInstancedQueue.cpp
#	cocos/renderer/pipeline/RenderQueue.cpp
#	cocos/renderer/pipeline/forward/ForwardStage.cpp
#	cocos/renderer/pipeline/helper/SharedMemory.h
#	cocos/renderer/pipeline/ui/UIFlow.cpp
#	cocos/renderer/pipeline/ui/UIFlow.h
#	cocos/renderer/pipeline/ui/UIStage.cpp
#	cocos/renderer/pipeline/ui/UIStage.h
#	cocos/scripting/dop/BufferPool.h
2020-08-17 18:22:34 +08:00
coulsonwang f1632acfdc fix review 2020-08-07 11:07:48 +08:00
coulsonwang 4e95c932c8 use DefineMap 2020-08-06 17:34:19 +08:00
coulsonwang 87f98133b0 Impl forward stage 2020-08-06 17:34:19 +08:00
minggo 715f43bbb6 use cc::pipeline namespace (#2575) 2020-06-16 15:20:03 +08:00
minggo e0410ffea3 Native renderer (#2554)
* add some renderer files

* add RenderView

* add RenderBatchedQueue

* add RenderInstancedBuffer

* add InstancedBuffer

* add BatchedBuffer
2020-06-12 10:46:50 +08:00