Commit Graph

28 Commits

Author SHA1 Message Date
Yun Hsiao Wu 14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +08:00
GengineJS 2aa0db788b Solve the problem of batched buffer memory leak (#4023)
* Solve the problem of batched buffer memory leak

* update batchedbuffer
2021-11-01 18:28:24 +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
cary d77dbb3a53 implement scene management in native(#3584) 2021-06-02 17:22:33 +08:00
mmyduckx 5ef2ab11bf Fix more warings (#3396) 2021-04-15 09:40:29 +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
Yun Hsiao Wu 9d3d6647dd merge latest device layer (#3145) 2020-12-28 17:23:16 +08:00
coulsonwang 3956223365 fix pipeline define (#3045) 2020-11-19 09:11:37 +08:00
troublemaker52025 bffaf3f395 Add spot light shadow for C++ (#2978) 2020-11-11 10:15:54 +08:00
coulsonwang 8d955f335c fix batched buffer (#2972) 2020-11-04 16:17:34 +08:00
coulsonwang f7013bcac7 disable triple buffering for metal (#2949) 2020-10-27 18:06:40 +08:00
coulsonwang eb864cb29f fix additive light queue (#2941) 2020-10-23 20:52:20 +08:00
coulsonwang af75495a0f fix shadowMap batched queue (#2937) 2020-10-22 11:31:56 +08:00
coulsonwang 453adad124 fix ci (#2936) 2020-10-21 17:56:02 +08:00
coulsonwang bd688923e9 fix native batched buffer (#2933)
* fix native batched buffer

* fix review
2020-10-21 13:45:51 +08:00
coulsonwang b504111fee sync native pipeline (#2868) 2020-10-12 15:55:02 +08:00
Yun Hsiao Wu 46ba30ae13 GFX Descriptor Set (#2713)
* GFX Descriptor Set: GLES3

* GFX Descriptor Set: GLES2

* GFX Descriptor Set: Vulkan

* upper layer adaptions

* GFX Descriptor Set: Metal

Co-authored-by: coulsonwang <coulsonwang@126.com>
2020-08-24 17:11:06 +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 848e253f71 fix forward pipeline and forward flow 2020-08-10 18:33:26 +08:00
coulsonwang 406e15b056 impl batched buffer 2020-08-07 14:13:10 +08:00
coulsonwang f1632acfdc fix review 2020-08-07 11:07:48 +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